UsbControlRequestType.Recipient Property

Definition

Gets or sets the recipient of the USB control transfer.

public:
 property UsbControlRecipient Recipient { UsbControlRecipient get(); void set(UsbControlRecipient value); };
UsbControlRecipient Recipient();

void Recipient(UsbControlRecipient value);
public UsbControlRecipient Recipient { get; set; }
var usbControlRecipient = usbControlRequestType.recipient;
usbControlRequestType.recipient = usbControlRecipient;
Public Property Recipient As UsbControlRecipient

Property Value

The recipient of the USB control transfer.

Remarks

If the recipient is the first interface of the active configuration (DefaultInterface), SendControlInTransferAsync and SendControlOutTransferAsync methods overwrite the low byte of UsbSetupPacket.Index with the interface number of the default interface.

Applies to