Provides a list of all available devices.
Inheritance Hierarchy
HidSharpDeviceList
HidSharpFilteredDeviceList
Namespace: HidSharp
Assembly: HidSharp (in HidSharp.dll) Version: 2.6.3
Syntax
The DeviceList type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | AreDriversBeingInstalled | true if drivers are presently being installed.
|
![]() | CanUninstallDevices | |
![]() ![]() | Local |
The list of devices on this computer.
|
Methods
Name | Description | |
---|---|---|
![]() | GetAllDevices |
Gets a list of all connected HID, BLE, and serial devices.
|
![]() | GetAllDevices(DeviceFilter) |
Gets a list of connected devices, filtered by some criteria.
|
![]() | GetBleDevices |
Gets a list of all connected BLE devices.
|
![]() | GetDevices(DeviceTypes) | |
![]() | GetDevices(DeviceTypes, DeviceFilter) | |
![]() | 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(String) |
Gets the connected serial device with the specific device path or filesystem name.
|
![]() | GetSerialDeviceOrNull(String, String) |
Gets the connected serial device with the specific device path or filesystem name.
|
![]() | GetSerialDevices |
Gets a list of all connected serial devices.
|
![]() | RaiseChanged |
Raises the Changed event.
|
![]() | TryGetHidDevice | |
![]() | TryGetSerialDevice | |
![]() | UninstallDevice |
Events
Name | Description | |
---|---|---|
![]() | Changed |
Occurs when a device is connected or disconnected.
|
See Also