As Denaes says you must add the reference to the dll to your project first, it isn't one of the default ones. Just thought I'd add how todo this incase you didn't know...
1. Click the Project menu
2. Select Add Reference
3. Double click System.Management
4. Click Ok
5. You can now use the System.Management namespace in your code
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.