C# Class LibUsbDotNet.Descriptors.UsbInterfaceDescriptor

Inheritance: UsbDescriptor
Show file 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 property

Value used to select alternative setting
public byte AlternateID
return byte

Class public property

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

EndpointCount public property

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

InterfaceID public property

Number of Interface
public byte InterfaceID
return byte

Protocol public property

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

Size public static property

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

StringIndex public property

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

SubClass public property

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