VB.Net 2008中所有设备的列表(例如Windows中的设备管理器) [英] list of all devices (like device manager in windows) in VB.Net 2008

查看:227
本文介绍了VB.Net 2008中所有设备的列表(例如Windows中的设备管理器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在制作一个可以检测所有设备的应用程序(例如Windows设备管理器中的设备),并显示设备状态是否正常.
谢谢.

Hi,

I am making an application which detect all the devices (like in windows device manager) and show device status whether it is working or not.
Thank you.

推荐答案

Select * from Win32_PnPEntity将解决问题.
参考:如何获取列表使用VB.NET的非工作设备 [
Select * from Win32_PnPEntity will do the trick.
Ref: How to Get a List of Non-Working Devices Using VB.NET[^]


这篇关于VB.Net 2008中所有设备的列表(例如Windows中的设备管理器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆