Пример #1
0
 public static UsbDevice[] GetDevices(Guid classGuid)
 {
     using (UsbDevices usbDevices = new UsbDevices(classGuid))
     {
         return usbDevices.GetDevices();
     }
 }
Пример #2
0
 public static UsbDevice[] GetDevices(Guid classGuid)
 {
     using (UsbDevices usbDevices = new UsbDevices(classGuid))
     {
         return(usbDevices.GetDevices());
     }
 }