Retrieve System Information

  • Thread starter Thread starter Stefke
  • Start date Start date
S

Stefke

Hi,

I want to write a little application with a textbox in which I can enter a
systems host name or ip address.
After clicking on a button Get Info, I want to display an overview of the
systems information in an rtf textbox.
Like CPU, Memory, HDD Info, Operating System, Service Pack, computer name,
Domain or workgroup name, ...

The application is meant to run in a network with +/- 250 systems, so if
possible I don't want to install anything on those systems, most systems are
2000 or XP but they don't have all .Net Framework installed.

I don't mind if I need to logon to the clients somehow and pass a username
and password, to retrieve the information.

Can anyone help me with thie, send a small sample application.

Kind Regards

Stefan
 
You can use the WMI (Windows Management Instrumentation) which is available
in both operating systems. There are lots of sample scripts available in
Internet. You can access the WMI from a .net assembly or via WSH (Windows
Scripting Host). After reading the information from the hosts, you will need
to upload the data to a SQL dbms. Its is likely that you will have to
install some database libraries on the hosts (MDAC or other COM based
library for WSH / .Net framework for .Net assemblies).

There is an application available for this kind of work on the Internet:
AIDA32. Its a good choice (actually free). I think this application uses DMI
to collect information.
 
Stefke said:
I want to write a little application with a textbox in which I can enter a
systems host name or ip address.
After clicking on a button Get Info, I want to display an overview of the
systems information in an rtf textbox.
Like CPU, Memory, HDD Info, Operating System, Service Pack, computer name,
Domain or workgroup name, ...

This can be done using WMI:

The application is meant to run in a network with +/- 250 systems, so if
possible I don't want to install anything on those systems, most systems
are
2000 or XP but they don't have all .Net Framework installed.

In order to use the sample above, WMI must be installed on the clients (this
is typically the case).
 

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