HidDevice Members
From HidSharp
| HidDevice Members | HIDSharp |
The HidDevice type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| GetReportDescriptor |
Returns the raw report descriptor of the USB device.
Currently this is only supported on Linux.
| |
| Open |
Makes a connection to the USB HID class device, or throws an exception if the connection cannot be made.
| |
| ToString | (Overrides | |
| TryOpen |
Tries to make a connection to the USB HID class device.
|
Properties
| Name | Description | |
|---|---|---|
| DevicePath |
The operating system's name for the device.
If you have multiple devices with the same Vendor ID, Product ID, Serial Number. etc.,
this may be useful for differentiating them.
| |
| Manufacturer |
The manufacturer name.
| |
| MaxFeatureReportLength |
The maximum feature report length, including the Report ID byte.
If the device does not use Report IDs, use 0 for the first byte.
| |
| MaxInputReportLength |
The maximum input report length, including the Report ID byte.
If the device does not use Report IDs, the first byte will always be 0.
| |
| MaxOutputReportLength |
The maximum output report length, including the Report ID byte.
If the device does not use Report IDs, use 0 for the first byte.
| |
| ProductID |
The USB product ID. These are listed at: http://usb-ids.gowdy.us
| |
| ProductName |
The product name.
| |
| ProductVersion |
The product version.
This is a 16-bit number encoding the major and minor versions in the upper and lower 8 bits, respectively.
| |
| SerialNumber |
The device serial number.
| |
| VendorID |
The USB vendor ID. These are listed at: http://usb-ids.gowdy.us
|
See Also