Solved

Manuf and Model Info

Posted on 2002-06-11
9
229 Views
Last Modified: 2010-04-02
Does anyone have code that will return the Manuf and Model of a computer...? just simple hardware information...?

Some simple API calls or a procedure that will return the Make and Manuf of any computer would be great.

Q2
0
Comment
Question by:quantum2
9 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 7071321
There is no portable way to do this.  C++ has no built-in features for this.  It must be done using OS-specific technques.  (Which of course defeats the purpose to a large extent.)
0
 
LVL 1

Author Comment

by:quantum2
ID: 7071327
Assume the OS is NT and higher only.

Thanks

Q2
0
 
LVL 1

Author Comment

by:quantum2
ID: 7071341
I assumed that reading the BIOS info would provide this, but it doesnt seem to, or at least not the way I am, doing it. Also I figured there was some standard WinAPI since this information appears in the SYSTEM dialog for the machine when you do a RIGHT CLICK/Properties on "My Computer"

Q2
0
 
LVL 1

Author Comment

by:quantum2
ID: 7071348
I assumed that reading the BIOS info would provide this, but it doesnt seem to, or at least not the way I am, doing it. Also I figured there was some standard WinAPI since this information appears in the SYSTEM dialog for the machine when you do a RIGHT CLICK/Properties on "My Computer"

Q2
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 22

Expert Comment

by:nietod
ID: 7071424
That information is in the windows registry somewhere.

I would recommend you ask in the Windows programming topic area.  This is not really a C++ question.
0
 
LVL 32

Expert Comment

by:jhance
ID: 7071473
The fact is that this information is NOT necessarily available.  SOME (and I stress SOME) system builders add special programs and usually these have corresponding registry entries that help to identify the system as theirs.  One tipoff that this is the case would be if the MY COMPUTER properties shows a computer make/model.  But this is NOT a standard feature of Windows.

0
 
LVL 1

Author Comment

by:quantum2
ID: 7071478
I assumed that reading the BIOS info would provide this, but it doesnt seem to, or at least not the way I am, doing it. Also I figured there was some standard WinAPI since this information appears in the SYSTEM dialog for the machine when you do a RIGHT CLICK/Properties on "My Computer"

Q2
0
 
LVL 1

Author Comment

by:quantum2
ID: 7071507
I placed this question in the wrong section and was informed accordingly. I will replace the question with the same Point value in the Winodws section.
0
 

Accepted Solution

by:
ComTech earned 0 total points
ID: 7071582
User has requested a refund to move the question to another TA.

Regards to all,
ComTech
CS Admin @ EE
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now