C# Class HidSharp.HidDevice

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

Méthodes publiques

Méthode Description
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.

Method Details

GetReportDescriptor() public méthode

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

Open() public abstract méthode

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

ToString() public méthode

public ToString ( ) : string
Résultat string

TryOpen() public méthode

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.
Résultat bool