PC Review


Reply
Thread Tools Rate Thread

ASPX VB.NET Connects to WMI

 
 
LamSoft
Guest
Posts: n/a
 
      4th Jun 2007
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?


 
Reply With Quote
 
 
 
 
Mark Rae
Guest
Posts: n/a
 
      4th Jun 2007
"LamSoft" <[nospam](E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

> 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

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Networking Problem: Wired pc rarely connects, wireless laptop connects rand38 Windows XP Networking 4 10th Nov 2006 03:15 PM
http://msdn.microsoft.com/wn3/aspx/postui.aspx?&guid=&sloc=en-us&d =?Utf-8?B?SG93IHRvIGdldCBkZXRhaWxzIGZyb20gdGhlIE9T Microsoft Dot NET 1 16th Mar 2006 05:26 PM
How to rise aspx parent forms event from aspx Child form =?Utf-8?B?QXNzYW5LaGFuIElzbWFpbA==?= Microsoft ASP .NET 1 22nd Oct 2005 03:03 PM
Wireless connection - connects then dis-connects then reconnects laniddog Windows XP Networking 7 14th Jun 2004 12:38 AM
Specifying all files except Login.aspx and Join.aspx are restricted to authenticated users SamIAm Microsoft ASP .NET 1 4th Dec 2003 02:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:07 PM.