Class UsbDeviceRequestType
Inheritance
System.Object
UsbDeviceRequestType
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Usb.Net
Assembly: Usb.Net.dll
Syntax
public class UsbDeviceRequestType
Constructors
UsbDeviceRequestType(RequestDirection, RequestType, RequestRecipient)
Declaration
public UsbDeviceRequestType(RequestDirection direction, RequestType type, RequestRecipient recipient)
Parameters
Type | Name | Description |
---|---|---|
RequestDirection | direction | |
RequestType | type | |
RequestRecipient | recipient |
Properties
Direction
Gets the direction of the USB device request.
Declaration
public RequestDirection Direction { get; }
Property Value
Type | Description |
---|---|
RequestDirection |
Recipient
Gets the direction of the USB device request.
Declaration
public RequestRecipient Recipient { get; }
Property Value
Type | Description |
---|---|
RequestRecipient |
Type
Gets the type of the USB device request.
Declaration
public RequestType Type { get; }
Property Value
Type | Description |
---|---|
RequestType |
Methods
ToByte()
Declaration
public byte ToByte()
Returns
Type | Description |
---|---|
System.Byte |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()