public static String[] getALLUsbDevices() { USBHIDDRIVER.USBInterface usbTemp = new USBInterface("0"); if (usbTemp.getDeviceList().Length > 1) { Console.WriteLine("dfsdfsdF"); } return(usbTemp.getDeviceList()); }
public void deviceList() { USBHIDDRIVER.USBInterface usbI = new USBInterface("0"); String[] list = usbI.getDeviceList(); Assert.IsNotNull(list); }