The HidDevice type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| GetFileSystemName |
Returns the file system path of the device.
This can be used to check permissions on Linux hidraw, for instance.
(Inherited from Device.) | |
| GetFriendlyName |
Returns a name appropriate for display.
(Overrides DeviceGetFriendlyName.) | |
| GetManufacturer |
Returns the manufacturer name.
(Inherited from Device.) | |
| GetManufacturer(GetStringFlags) |
Returns the manufacturer name.
(Inherited from Device.) | |
| GetMaxFeatureReportLength |
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.
| |
| GetMaxInputReportLength |
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.
| |
| GetMaxOutputReportLength |
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.
| |
| GetProductName |
Returns the product name.
(Inherited from Device.) | |
| GetProductName(GetStringFlags) |
Returns the product name.
(Inherited from Device.) | |
| GetRawReportDescriptor |
Returns the raw report descriptor of the USB device.
| |
| GetReportDescriptor |
Retrieves and parses the report descriptor of the USB device.
| |
| GetSerialNumber |
Returns the device serial number.
(Inherited from Device.) | |
| GetSerialNumber(GetStringFlags) |
Returns the device serial number.
(Inherited from Device.) | |
| GetSerialPorts |
Returns the serial ports of the composite USB device.
Currently this is only supported on Windows.
| |
| GetUsbPort | ||
| HasImplementationDetail | (Overrides DeviceHasImplementationDetail(Guid).) | |
| Open | ||
| Open(OpenConfiguration) | ||
| ToString | Returns a string that represents the current object. (Overrides ObjectToString.) | |
| TryOpen(DeviceStream) |
Tries to make a connection to the device.
(Inherited from Device.) | |
| TryOpen(HidStream) | ||
| TryOpen(OpenConfiguration, DeviceStream) | (Inherited from Device.) | |
| TryOpen(OpenConfiguration, HidStream) | ||
| TryOpen(OpenConfiguration, DeviceStream, Exception) | (Inherited from Device.) |
See Also