0
go to solution explorer and rightClick on refrences and add refrence , then choose the system.management and click ok . then type using system.management;
now u can use this class in your app !
it works fine
0
am using system.management name space but not unable to do
0
ManagementObjectSearcher error coming what to do
0
In Windows management query can get disc details and othe hardware componets .
Go through the link may help you
https://www.codeproject.com/Articles/54064/Working-With-Windows-Management-Instrumentation-WM