Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

1 solution

Select * from Win32_PnPEntity will do the trick.
Ref: How to Get a List of Non-Working Devices Using VB.NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900