Provides a list of all available devices.
Inheritance Hierarchy
HidSharpDeviceList
HidSharpFilteredDeviceList
Namespace: HidSharp
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax
The DeviceList type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| GetAllDevices |
Gets a list of all connected HID and serial devices.
| |
| GetAllDevices(DeviceFilter) |
Gets a list of connected devices, filtered by some criteria.
| |
| GetHidDeviceOrNull |
Gets the first connected HID device that matches specified criteria.
| |
| GetHidDevices |
Gets a list of all connected HID devices.
| |
| GetHidDevices(NullableInt32, NullableInt32, NullableInt32, String) |
Gets a list of connected HID devices, filtered by some criteria.
| |
| GetSerialDeviceOrNull |
Gets the connected serial device with the specific port name.
| |
| GetSerialDevices |
Gets a list of all connected serial devices.
| |
| RaiseChanged |
Raises the Changed event.
| |
| TryGetHidDevice | ||
| TryGetSerialDevice |
Properties
| Name | Description | |
|---|---|---|
| AreDriversBeingInstalled | true if drivers are presently being installed.
| |
| Local |
The list of devices on this computer.
|
Events
| Name | Description | |
|---|---|---|
| Changed |
Occurs when a device is connected or disconnected.
|
See Also