hidlibrary by Mike O'Brien

<PackageReference Include="hidlibrary" Version="3.2.46" />

 HidDevices

public class HidDevices
public HidDevices()

public static IEnumerable<HidDevice> Enumerate()

public static IEnumerable<HidDevice> Enumerate(string devicePath)

public static IEnumerable<HidDevice> Enumerate(int vendorId, int[] productIds)

public static IEnumerable<HidDevice> Enumerate(int vendorId, int productId, ushort UsagePage)

public static IEnumerable<HidDevice> Enumerate(int vendorId)

public static HidDevice GetDevice(string devicePath)

public static bool IsConnected(string devicePath)