LibUsbDotNet and custom HID RRS feed

  • Question

  • I have some custom HID device and I try to develop some windows application using LibUsbDotNet. 

    So an issue is that code 

    UsbRegDeviceList allDevices = UsbDevice.AllDevices; // From example

    returns only one device (and this device is not my target).

    Then I go deep into LibUsbDotNet source and I figured out that SetupDiGetCustomDeviceProperty always returns code 0x0D (except for that only one device).

    On the other side, another libs (like HidSharp) successfully enumerate and connect to my custom HID device. But I need LibUsbDotNet for some reasons. Can anyone help me? I do not know much about setupapi to figure out with this issue by my self.


    Monday, March 26, 2018 11:28 AM


  • Here is some information on how to use the APIs: SetupDiGetClassDevs


    Azius Developer Training Windows device driver, internals, security, & forensics training and consulting. Blog at

    Tuesday, March 27, 2018 12:46 AM