C# Class LibUsbDotNet.Descriptors.UsbInterfaceDescriptor

Inheritance: UsbDescriptor
ファイルを表示 Open project: arvydas/BlinkStickDotNet Class Usage Examples

Public Properties

Property Type Description
AlternateID byte
Class ClassCodeType
EndpointCount byte
InterfaceID byte
Protocol byte
Size int
StringIndex byte
SubClass byte

Public Methods

Method Description
ToString ( ) : string

Returns a T:System.String that represents the current UsbInterfaceDescriptor.

ToString ( string prefixSeperator, string entitySperator, string suffixSeperator ) : string

Returns a T:System.String that represents the current UsbInterfaceDescriptor.

Private Methods

Method Description
UsbInterfaceDescriptor ( ) : System
UsbInterfaceDescriptor ( MonoUsbAltInterfaceDescriptor altInterfaceDescriptor ) : System

Method Details

ToString() public method

Returns a T:System.String that represents the current UsbInterfaceDescriptor.
public ToString ( ) : string
return string

ToString() public method

Returns a T:System.String that represents the current UsbInterfaceDescriptor.
public ToString ( string prefixSeperator, string entitySperator, string suffixSeperator ) : string
prefixSeperator string The field prefix string.
entitySperator string The field/value seperator string.
suffixSeperator string The value suffix string.
return string

Property Details

AlternateID public_oe property

Value used to select alternative setting
public byte AlternateID
return byte

Class public_oe property

Class Code (Assigned by USB Org)
public ClassCodeType Class
return ClassCodeType

EndpointCount public_oe property

Number of Endpoints used for this interface
public byte EndpointCount
return byte

InterfaceID public_oe property

Number of Interface
public byte InterfaceID
return byte

Protocol public_oe property

Protocol Code (Assigned by USB Org)
public byte Protocol
return byte

Size public_oe static_oe property

Total size of this structure in bytes.
public static int Size
return int

StringIndex public_oe property

Index of String Descriptor Describing this interface
public byte StringIndex
return byte

SubClass public_oe property

Subclass Code (Assigned by USB Org)
public byte SubClass
return byte