HidDevice Members

HidSharp

HidDevice Members HIDSharp

The HidDevice type exposes the following members.

Methods

  NameDescription
Public methodGetReportDescriptor
Returns the raw report descriptor of the USB device. Currently this is only supported on Linux.
Public methodOpen
Makes a connection to the USB HID class device, or throws an exception if the connection cannot be made.
Public methodToString
Returns a OnlineString that represents the current OnlineObject.
(Overrides OnlineObject ToString .)
Public methodTryOpen
Tries to make a connection to the USB HID class device.
Back to Top
Properties

  NameDescription
Public propertyDevicePath
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.
Public propertyManufacturer
The manufacturer name.
Public propertyMaxFeatureReportLength
The maximum feature report length, including the Report ID byte. If the device does not use Report IDs, use 0 for the first byte.
Public propertyMaxInputReportLength
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.
Public propertyMaxOutputReportLength
The maximum output report length, including the Report ID byte. If the device does not use Report IDs, use 0 for the first byte.
Public propertyProductID
The USB product ID. These are listed at: http://usb-ids.gowdy.us
Public propertyProductName
The product name.
Public propertyProductVersion
The product version. This is a 16-bit number encoding the major and minor versions in the upper and lower 8 bits, respectively.
Public propertySerialNumber
The device serial number.
Public propertyVendorID
The USB vendor ID. These are listed at: http://usb-ids.gowdy.us
Back to Top
See Also