System.Management

hamid

Centurion
Joined
Jul 13, 2004
Messages
114
hi,
why i cant use System.Management in c#.net 2005 (also 2003) ?
there isn't Managment namespase in System !
 
Have you added the reference for System.Management in your project references?
 
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
 
Back
Top