C# Class MonoLibUsb.Descriptors.MonoUsbDeviceDescriptor

Exibir arquivo Open project: arvydas/BlinkStickDotNet Class Usage Examples

Public Properties

Property Type Description
BcdDevice short
BcdUsb short
Class ClassCodeType
ConfigurationCount byte
DescriptorType DescriptorType
Length byte
ManufacturerStringIndex byte
MaxPacketSize0 byte
ProductID short
ProductStringIndex byte
Protocol byte
SerialStringIndex byte
Size int
SubClass byte
VendorID short

Public Methods

Method Description
ToString ( ) : string

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

Method Details

ToString() public method

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

Property Details

BcdDevice public_oe property

Device Release Number
public short BcdDevice
return short

BcdUsb public_oe property

USB Specification Number which device complies too.
public short BcdUsb
return short

Class public_oe property

Class Code (Assigned by USB Org) If equal to Zero, each interface specifies it’s own class code; If equal to 0xFF, the class code is vendor specified; Otherwise field is valid Class Code.
public ClassCodeType Class
return ClassCodeType

ConfigurationCount public_oe property

Number of Possible Configurations
public byte ConfigurationCount
return byte

DescriptorType public_oe property

Type of structure reported by the associated usb device.
public DescriptorType DescriptorType
return DescriptorType

Length public_oe property

Length of structure reported by the associated usb device.
public byte Length
return byte

ManufacturerStringIndex public_oe property

Index of Manufacturer String Descriptor
public byte ManufacturerStringIndex
return byte

MaxPacketSize0 public_oe property

Maximum Packet Size for Zero Endpoint. Valid Sizes are 8, 16, 32, 64
public byte MaxPacketSize0
return byte

ProductID public_oe property

Product ID (Assigned by Manufacturer)
public short ProductID
return short

ProductStringIndex public_oe property

Index of Product String Descriptor
public byte ProductStringIndex
return byte

Protocol public_oe property

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

SerialStringIndex public_oe property

Index of Serial Number String Descriptor
public byte SerialStringIndex
return byte

Size public_oe static_oe property

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

SubClass public_oe property

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

VendorID public_oe property

Vendor ID (Assigned by USB Org)
public short VendorID
return short