Skip to content

Enumerating Connected Devices

Christian Findlay edited this page Dec 30, 2018 · 27 revisions

To enumerate connected devices, you must register the factories for the device types. If you're not sure which device type you want to connect to, you should try both USB, and Hid. In this case, you will need to add both NuGet packages.

Here is an example for registering both factories on Windows:

    WindowsUsbDeviceFactory.Register();
    WindowsHidDeviceFactory.Register();

From

Clone this wiki locally