Calling ManagementObjectSearcher.Get

  • Thread starter Thread starter Shahin
  • Start date Start date
S

Shahin

Greetings,

I am calling ManagementObjectSearcher.Get but I get an
error saying invalid name space. I noticed in the
documentation it says

Full trust for the immediate caller.

How do I make the EXE to have Full Trust.

Thank You
Shahin
 
Hi,

Did you add a reference to system.management to your app?

Ken
 

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