HidDevice MethodsHIDSharp

The HidDevice type exposes the following members.

Methods

  NameDescription
Public methodGetFileSystemName
Returns the file system path of the device. This can be used to check permissions on Linux hidraw, for instance.
(Inherited from Device.)
Public methodGetFriendlyName
Returns a name appropriate for display.
(Overrides DeviceGetFriendlyName.)
Public methodGetManufacturer
Returns the manufacturer name.
Public methodGetMaxFeatureReportLength
Returns 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 methodGetMaxInputReportLength
Returns 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 methodGetMaxOutputReportLength
Returns 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 methodGetProductName
Returns the product name.
Public methodGetRawReportDescriptor
Returns the raw report descriptor of the USB device.
Public methodGetReportDescriptor
Retrieves and parses the report descriptor of the USB device.
Public methodGetSerialNumber
Returns the device serial number.
Public methodGetSerialPorts
Returns the serial ports of the composite USB device. Currently this is only supported on Windows.
Public methodHasImplementationDetail (Overrides DeviceHasImplementationDetail(Guid).)
Public methodOpen
Public methodOpen(OpenConfiguration)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodTryOpen(DeviceStream)
Tries to make a connection to the device.
(Inherited from Device.)
Public methodTryOpen(HidStream)
Public methodTryOpen(OpenConfiguration, DeviceStream) (Inherited from Device.)
Public methodTryOpen(OpenConfiguration, HidStream)
Public methodTryOpen(OpenConfiguration, DeviceStream, Exception) (Inherited from Device.)
Top
See Also

Reference