DeviceList ClassHIDSharp
Provides a list of all available devices.
Inheritance Hierarchy

SystemObject
  HidSharpDeviceList
    HidSharpFilteredDeviceList

Namespace: HidSharp
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax

public abstract class DeviceList

The DeviceList type exposes the following members.

Methods

  NameDescription
Public methodGetAllDevices
Gets a list of all connected HID and serial devices.
Public methodGetAllDevices(DeviceFilter)
Gets a list of connected devices, filtered by some criteria.
Public methodGetHidDeviceOrNull
Gets the first connected HID device that matches specified criteria.
Public methodGetHidDevices
Gets a list of all connected HID devices.
Public methodGetHidDevices(NullableInt32, NullableInt32, NullableInt32, String)
Gets a list of connected HID devices, filtered by some criteria.
Public methodGetSerialDeviceOrNull
Gets the connected serial device with the specific port name.
Public methodGetSerialDevices
Gets a list of all connected serial devices.
Public methodRaiseChanged
Raises the Changed event.
Public methodTryGetHidDevice
Public methodTryGetSerialDevice
Top
Properties

  NameDescription
Public propertyAreDriversBeingInstalled
true if drivers are presently being installed.
Public propertyStatic memberLocal
The list of devices on this computer.
Top
Events

  NameDescription
Public eventChanged
Occurs when a device is connected or disconnected.
Top
See Also

Reference