Click to See Complete Forum and Search --> : simple qustion about API


coricori
August 15th, 2008, 03:22 AM
Hi there

I need to know how can I get the following details about the running machine. I Plan to run my application on 20 different stations and to save those data in a txt file. Later the user will send me that file.

1. a unique identifier which represents the running machine.
2. CPU speed and type
3. RAM quantity
4. Operating system name
5. Data
6. Time

many thx

fred100
August 15th, 2008, 10:31 AM
Just use basic apis.
All the code is in MSDN and PSDK.

kirants
August 15th, 2008, 11:23 AM
1. a unique identifier which represents the running machine.

WHat is this ? unique ID is a vague information. It can mean anything.

2. CPU speed and type
Three Ways to Retrieve Processor Information
(http://www.codeguru.com/cpp/w-p/system/hardwareinformation/article.php/c9087/)
3. RAM quantity
System Information Class
(http://www.codeguru.com/cpp/w-p/system/hardwareinformation/article.php/c5727/)
4. Operating system name
Determine Windows Version and Edition
(http://www.codeguru.com/cpp/misc/misc/system/article.php/c8973/)
5. Data
6. Time
Assuming you mean Date and not data, you can use GetSystemTime for both