C# Class LibUsbDotNet.Descriptors.UsbDeviceDescriptor

Inheritance: UsbDescriptor
Afficher le fichier Open project: arvydas/BlinkStickDotNet Class Usage Examples

Méthodes publiques

Свойство Type Description
BcdDevice short
BcdUsb short
Class ClassCodeType
ConfigurationCount byte
ManufacturerStringIndex byte
MaxPacketSize0 byte
ProductID short
ProductStringIndex byte
Protocol byte
SerialStringIndex byte
Size int
SubClass byte
VendorID short

Méthodes publiques

Méthode Description
Equals ( UsbDeviceDescriptor other ) : bool

Determines whether the specified UsbDeviceDescriptor is equal to the current UsbDeviceDescriptor.

Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

ToString ( ) : string

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

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

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

operator ( ) : bool

Private Methods

Méthode Description
UsbDeviceDescriptor ( ) : System
UsbDeviceDescriptor ( MonoUsbDeviceDescriptor usbDeviceDescriptor ) : System

Method Details

Equals() public méthode

Determines whether the specified UsbDeviceDescriptor is equal to the current UsbDeviceDescriptor.
The parameter is null.
public Equals ( UsbDeviceDescriptor other ) : bool
other UsbDeviceDescriptor The to compare with the current .
Résultat bool

Equals() public méthode

Determines whether the specified T:System.Object is equal to the current T:System.Object.
The parameter is null.
public Equals ( object obj ) : bool
obj object The to compare with the current .
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Returns a T:System.String that represents the current UsbDeviceDescriptor.
public ToString ( ) : string
Résultat string

ToString() public méthode

Returns a T:System.String that represents the current UsbDeviceDescriptor.
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.
Résultat string

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

BcdDevice public_oe property

Device Release Number
public short BcdDevice
Résultat short

BcdUsb public_oe property

USB Specification Number which device complies too.
public short BcdUsb
Résultat 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
Résultat ClassCodeType

ConfigurationCount public_oe property

Number of Possible Configurations
public byte ConfigurationCount
Résultat byte

ManufacturerStringIndex public_oe property

Index of Manufacturer String Descriptor
public byte ManufacturerStringIndex
Résultat byte

MaxPacketSize0 public_oe property

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

ProductID public_oe property

Product ID (Assigned by Manufacturer)
public short ProductID
Résultat short

ProductStringIndex public_oe property

Index of Product String Descriptor
public byte ProductStringIndex
Résultat byte

Protocol public_oe property

Protocol Code (Assigned by USB Org)
public byte Protocol
Résultat byte

SerialStringIndex public_oe property

Index of Serial Number String Descriptor
public byte SerialStringIndex
Résultat byte

Size public_oe static_oe property

Total size of this structure in bytes.
public static int Size
Résultat int

SubClass public_oe property

Subclass Code (Assigned by USB Org)
public byte SubClass
Résultat byte

VendorID public_oe property

Vendor ID (Assigned by USB Org)
public short VendorID
Résultat short