I want to ask,is it possible to detect a device that are connected to the usb port?And directly link to the software that we've made?Thanks a lot
I want to ask,is it possible to detect a device that are connected to the usb port?And directly link to the software that we've made?Thanks a lot
it is possible. try using Win32_ControllerDevice, Win32_USBHub, Win32_Controller class from WMI Classes. there may be other alternatives that more suitable for your app, but you need to be more specific (eg: is the device a storage device? or custom made hardware, etc). HTH
To read a pole display/customer display so the application i made can directly connect with it..Thanks a lot.
Other alternatives are,you could check if the usb device is emulating serial port / network. if it is emulating serial port then you can use System.IO.Ports.SerialPort class. if the device capable of TCP/IP communication then you can use System.Net.Sockets.Socket class. other than that you can use Windows API.
Most customer display device i know emulate serial port (COM5/COM6) perhaps yours too.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks