C# Класс MonoLibUsb.Descriptors.MonoUsbDeviceDescriptor

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
ToString ( ) : string

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

Описание методов

ToString() публичный Метод

Returns a T:System.String that represents the current MonoUsbDeviceDescriptor.
public ToString ( ) : string
Результат string

Описание свойств

BcdDevice публичное свойство

Device Release Number
public short BcdDevice
Результат short

BcdUsb публичное свойство

USB Specification Number which device complies too.
public short BcdUsb
Результат short

Class публичное свойство

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
Результат ClassCodeType

ConfigurationCount публичное свойство

Number of Possible Configurations
public byte ConfigurationCount
Результат byte

DescriptorType публичное свойство

Type of structure reported by the associated usb device.
public DescriptorType DescriptorType
Результат DescriptorType

Length публичное свойство

Length of structure reported by the associated usb device.
public byte Length
Результат byte

ManufacturerStringIndex публичное свойство

Index of Manufacturer String Descriptor
public byte ManufacturerStringIndex
Результат byte

MaxPacketSize0 публичное свойство

Maximum Packet Size for Zero Endpoint. Valid Sizes are 8, 16, 32, 64
public byte MaxPacketSize0
Результат byte

ProductID публичное свойство

Product ID (Assigned by Manufacturer)
public short ProductID
Результат short

ProductStringIndex публичное свойство

Index of Product String Descriptor
public byte ProductStringIndex
Результат byte

Protocol публичное свойство

Protocol Code (Assigned by USB Org)
public byte Protocol
Результат byte

SerialStringIndex публичное свойство

Index of Serial Number String Descriptor
public byte SerialStringIndex
Результат byte

Size публичное статическое свойство

Total size of this structure in bytes.
public static int Size
Результат int

SubClass публичное свойство

Subclass Code (Assigned by USB Org)
public byte SubClass
Результат byte

VendorID публичное свойство

Vendor ID (Assigned by USB Org)
public short VendorID
Результат short