Click here to Skip to main content
15,867,594 members
Articles / Programming Languages / C++
Article

Getting System Information

Rate me:
Please Sign up or sign in to vote.
3.00/5 (12 votes)
11 Jun 2001 199.8K   3.2K   39   39
This article lets you get system information via easy-to-use C++ classes.

Sample Image - SysInfo--Processor.jpg

Introduction

Have you ever wanted to get system information on the WIN32 platform, but you just want a C++ console interface? Now you can with SysInfo and its related classes.

The class itself is really easy to use. SysInfo has a number of helper classes that do all of the work. SysInfo itself is just the interface to these other classes. If your needs dictate only a subset of what SysInfo provides, you don't have to use SysInfo. The other classes are in the global namespace so you can access them as well. Full source code is included.

Revision History

19 Jun 2002 - Initial Revision
19 Jun 2002 - Resized Graphic

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
Questionhow using the dll with ansi C exe ? Pin
csdc9-Mar-12 22:18
csdc9-Mar-12 22:18 
GeneralMissing licence Pin
Frederic Souchu25-Oct-10 22:30
Frederic Souchu25-Oct-10 22:30 
Generalhard drive information Pin
Madan Chauhan23-Apr-08 0:55
Madan Chauhan23-Apr-08 0:55 
GeneralSome more features Pin
tyjjrtruy4teqye7nyue7qay9-Feb-07 1:23
tyjjrtruy4teqye7nyue7qay9-Feb-07 1:23 
GeneralRe: Some more features Pin
PaulWendt9-Feb-07 4:21
PaulWendt9-Feb-07 4:21 
GeneralRe: Some more features Pin
tyjjrtruy4teqye7nyue7qay12-Feb-07 2:12
tyjjrtruy4teqye7nyue7qay12-Feb-07 2:12 
Thank you sir,
I have already tried WMI to find all these information,but some information like-motherboard's manufacturer,version no.,serial no.,HDD's serial no.,revision no.,Floppy drive's serial no,manufacturer. etc. are not reliable through WMI. It doesn't give consistency in performance in large network. so can u suggest me some other way to look through??I want the direction to get ahead only.

Thanking you.
Waiting for reply.


Dhiren.
GeneralRe: Some more features Pin
PaulWendt12-Feb-07 10:59
PaulWendt12-Feb-07 10:59 
GeneralErrors Pin
MrSmiley323-Jul-05 17:35
MrSmiley323-Jul-05 17:35 
GeneralBug Drive Information Pin
JimmyO23-Jun-04 23:21
JimmyO23-Jun-04 23:21 
Generalsystem information Pin
pradeepvarghesek31-Mar-04 19:32
pradeepvarghesek31-Mar-04 19:32 
GeneralWell done! Pin
Ivo Ivanov20-Jan-04 14:18
Ivo Ivanov20-Jan-04 14:18 
Generalquestions regards system information Pin
edchen9916-Nov-02 9:30
edchen9916-Nov-02 9:30 
QuestionNew release of SysInfo ? Pin
Didier LIROULET11-Jul-02 5:00
sussDidier LIROULET11-Jul-02 5:00 
Generalremote system Pin
26-Jun-02 19:37
suss26-Jun-02 19:37 
General:-) Pin
Brian Delahunty19-Jun-02 4:28
Brian Delahunty19-Jun-02 4:28 
QuestionCPUID??? Pin
hoangcuong16-Apr-02 17:39
hoangcuong16-Apr-02 17:39 
AnswerRe: CPUID??? Pin
Dean Wyant22-Sep-03 9:40
Dean Wyant22-Sep-03 9:40 
GeneralCannot compile and link Pin
23-Jan-02 5:49
suss23-Jan-02 5:49 
GeneralRe: Cannot compile and link Pin
PaulWendt23-Jan-02 6:46
PaulWendt23-Jan-02 6:46 
GeneralGetting additional information Pin
21-Jan-02 2:09
suss21-Jan-02 2:09 
GeneralRe: Getting additional information Pin
PaulWendt21-Jan-02 2:41
PaulWendt21-Jan-02 2:41 
AnswerRe: Getting additional information Pin
pragya soni 12312-Jun-08 22:17
pragya soni 12312-Jun-08 22:17 
GeneralADD this important feature.... Pin
xjhay21-Dec-01 19:08
xjhay21-Dec-01 19:08 
GeneralCannot Linking... Pin
10-Nov-01 10:46
suss10-Nov-01 10:46 
GeneralRe: Cannot Linking... Pin
10-Dec-01 23:17
suss10-Dec-01 23:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.