C# 클래스 LibUsbDotNet.Descriptors.UsbDeviceDescriptor

상속: UsbDescriptor
파일 보기 프로젝트 열기: arvydas/BlinkStickDotNet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
UsbDeviceDescriptor ( ) : System
UsbDeviceDescriptor ( MonoUsbDeviceDescriptor usbDeviceDescriptor ) : System

메소드 상세

Equals() 공개 메소드

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 .
리턴 bool

Equals() 공개 메소드

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 .
리턴 bool

GetHashCode() 공개 메소드

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
리턴 int

ToString() 공개 메소드

Returns a T:System.String that represents the current UsbDeviceDescriptor.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

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.
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

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

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