public static UsbDevice[] GetDevices(Guid classGuid) { using (UsbDevices usbDevices = new UsbDevices(classGuid)) { return usbDevices.GetDevices(); } }
public static UsbDevice[] GetDevices(Guid classGuid) { using (UsbDevices usbDevices = new UsbDevices(classGuid)) { return(usbDevices.GetDevices()); } }