询问虚拟通勤 [英] Ask about Virtual Comport
本文介绍了询问虚拟通勤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用串行端口用C#编写应用程序.现在,我想检测设备usb-com插入/拔出插头.我该怎么办?谢谢
解决方案
您已经用谷歌搜索了吗?
您的关键字是WMI.
看这里:
枚举和自动检测USB驱动器 [ http://dotnetslackers. com/Community/blogs/basharkokash/archive/2008/02/06/usb-port-insert-remove-detection-using-wmi.aspx [ http://stackoverflow.com/questions/9835881/releasing-a-unplugged-virtual-串行端口 [ ^ ]
I am writing a application in C# using a serial port.Now,i wanna detect a device usb-com which plug/unlug.What must i do?Thanks
解决方案
Have you googled for it?
Your keyword is WMI.
Look here:
Enumerate and Auto-Detect USB Drives[^]
http://dotnetslackers.com/Community/blogs/basharkokash/archive/2008/02/06/usb-port-insert-remove-detection-using-wmi.aspx[^]
Hi,
Try following link:
http://stackoverflow.com/questions/9835881/releasing-a-unplugged-virtual-serial-port[^]
这篇关于询问虚拟通勤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文