// 32feet.NET - Personal Area Networking for .NET // // InTheHand.Usb.ControlTransferSetup // // Copyright (c) 2020-2022 In The Hand Ltd, All rights reserved. // This source code is licensed under the MIT License using System; using System.Collections.Generic; using System.Text; namespace InTheHand.Usb { /// /// An object that sets options for a control transfer. /// public sealed class ControlTransferSetup { /// /// Must be one of three values specifying whether the tranfer is "standard" (common to all USB devices) "class" (common to an industry-standard class of devices) or "vendor". /// public RequestType RequestType { get; set; } /// /// Specifices the target of the transfer on the device /// public Recipient Recipient { get; set; } /// /// A vendor-specific command. /// public int Request { get; set; } /// /// Vender-specific request parameters. /// public int Value { get; set; } /// /// The interface number of the recipient. /// public int Index { get; set; } } }