示例#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());
     }
 }