C# 클래스 MonoLibUsb.Profile.MonoUsbProfile

Representing a USB device that can be opened and used by Libusb-1.0.
파일 보기 프로젝트 열기: arvydas/BlinkStickDotNet 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

Closes the internal MonoUsbProfileHandle.

Equals ( MonoUsbProfile other ) : bool

Compares a MonoUsbProfile with this one.

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.

OpenDeviceHandle ( ) : MonoUsbDeviceHandle

Convenience function to open the device handle this profile handle represents.

operator ( ) : bool

true if the MonoUsbProfile types are equal.

MonoUsbProfile types are considered equal they have the same BusNumber and DeviceAddress.

비공개 메소드들

메소드 설명
GetDeviceDescriptor ( MonoUsbDeviceDescriptor &monoUsbDeviceDescriptor ) : MonoUsbError
MonoUsbProfile ( MonoUsbProfileHandle monoUSBProfileHandle ) : LibUsbDotNet

메소드 상세

Close() 공개 메소드

Closes the internal MonoUsbProfileHandle.
public Close ( ) : void
리턴 void

Equals() 공개 메소드

Compares a MonoUsbProfile with this one.
public Equals ( MonoUsbProfile other ) : bool
other MonoUsbProfile The other .
리턴 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

OpenDeviceHandle() 공개 메소드

Convenience function to open the device handle this profile handle represents.
public OpenDeviceHandle ( ) : MonoUsbDeviceHandle
리턴 MonoUsbDeviceHandle

operator() 공개 정적인 메소드

true if the MonoUsbProfile types are equal.
MonoUsbProfile types are considered equal they have the same BusNumber and DeviceAddress.
public static operator ( ) : bool
리턴 bool