By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,969 Members | 1,536 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,969 IT Pros & Developers. It's quick & easy.

ASPX VB.NET Connects to WMI

P: n/a
Is there any method to let aspx connects to WMI to get system information.

I found that there is a method called
"System.Management.ManagementObjectSearcher, but when I tried to import it,
the VS.NET said "namespace or type specified in the Imports.... does not
contain any public member or cannot be found.

What did I missing?
Jun 4 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"LamSoft" <[nospam]la*****@lamsoft.netwrote in message
news:Os**************@TK2MSFTNGP04.phx.gbl...
Is there any method to let aspx connects to WMI to get system information.
Yup - the System.Management namespace.
I found that there is a method called
"System.Management.ManagementObjectSearcher, but when I tried to import
it, the VS.NET said "namespace or type specified in the Imports.... does
not contain any public member or cannot be found.

What did I missing?
You have to add a reference to System.Management in your project...

Obviously, this is going to run server-side, so any information will relate
to the server, not the client machine(s)...
--
http://www.markrae.net

Jun 4 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.