473,372 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

Retrieve System Information

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
Nov 21 '05 #1
2 1758
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" <sf***@tiscali.be> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
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

Nov 21 '05 #2
"Stefke" <sf***@tiscali.be> schrieb:
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:

<URL:http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=842&lngWId=10>
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).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

79
by: Klaus Bonadt | last post by:
In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current...
11
by: jw56578 | last post by:
what is a common method, if any, to retrieve stored query information from Access. MDAC does not support OleDbSchemaGuid.Procedure_Columns. I need stored procedure name and paramter information,...
3
by: James Geurts | last post by:
This is probably more of an ASP.Net situation rather than c#, but since all of my code behind is in c#, maybe it fits here. I'm wondering, generally, at what point is it too inefficient to store...
5
by: Roy Gourgi | last post by:
Hi, I am used to working in Visual FoxPro and I would like to be able to create a database and store and retrieve information from it. What is the simplest way to do it and what should I be...
1
by: John Yung | last post by:
Hi, I have a client (C# MS Excel Project) calling a Web Service to retrieve and update data. One of the business requirement is the client's NT Login ID, IP Address and computer name must be log...
9
by: Don | last post by:
Say I have a class like so: Public Class MyClass Public Prop1 as Integer Public Prop2 As Integer Public Prop3 As Integer End Class Is it possible to retrieve a list of the variables or...
2
by: Steve Barnett | last post by:
I'm trying to put together a class that retrieves version information from my assembly and am having a problem. The code below happily retrieves the AssemblyTitle and AssemblyDescription but fails...
7
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a C# logging assembly with a static constructor and methods that is called from another C# Assembly that is used as a COM interface for a VB6 Application. Ideally I need to build a file...
1
by: engteng | last post by:
How can I retrieve Windows System Information ? example : System Name, System Model, Processor, Total Physical Memory and etc. Regards, Tee ET
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.