Can't use :using System.Management;

  • Thread starter Thread starter Boki
  • Start date Start date
B

Boki

Hi All,

When I add:
using System.Management;

It can't pass compiler:

Error 1 The type or namespace name 'Management' does not exist in the
namespace 'System' (are you missing an assembly reference?) C:
\Documents and Settings\pro-user\Local Settings\Application Data
\Temporary Projects\mac address\Form1.cs 8 14 mac address

I am using C# express, does it not support System.Management;? Thank
you very much!

Best regards,
Boki.
 
Boki said:
Hi All,

When I add:
using System.Management;

It can't pass compiler:

Error 1 The type or namespace name 'Management' does not exist in the
namespace 'System' (are you missing an assembly reference?) C:
\Documents and Settings\pro-user\Local Settings\Application Data
\Temporary Projects\mac address\Form1.cs 8 14 mac address

I am using C# express, does it not support System.Management;? Thank
you very much!

Best regards,
Boki.

You need to add a reference to system.management.dll.
 
Hi guys,
I'm using C# Visual Studio express 2010. I'm not able to add the reference to System.Management.dll as it is not listed in the .Net tab in references. When I click the add reference and then scroll through the .Net Components, I only see System.Management and System.Management.Instrumentation. There is nothing listed for System.Management.dll. Any help would be much appreciated. Thank you.
Todd

p.s., I'm beginning to wonder if Microsoft doesn't allow access to this library with the free express version.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top