C# 클래스 HidSharp.HidDevice

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

공개 메소드들

메소드 설명
GetReportDescriptor ( ) : byte[]

Returns the raw report descriptor of the USB device. Currently this is only supported on Linux.

Open ( ) : HidStream

Makes a connection to the USB HID class device, or throws an exception if the connection cannot be made.

ToString ( ) : string
TryOpen ( HidStream &stream ) : bool

Tries to make a connection to the USB HID class device.

메소드 상세

GetReportDescriptor() 공개 메소드

Returns the raw report descriptor of the USB device. Currently this is only supported on Linux.
public GetReportDescriptor ( ) : byte[]
리턴 byte[]

Open() 공개 추상적인 메소드

Makes a connection to the USB HID class device, or throws an exception if the connection cannot be made.
public abstract Open ( ) : HidStream
리턴 HidStream

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TryOpen() 공개 메소드

Tries to make a connection to the USB HID class device.
public TryOpen ( HidStream &stream ) : bool
stream HidStream The stream to use to communicate with the device.
리턴 bool