Solved

Manuf and Model Info

Posted on 2002-06-11
9
228 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

708 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

20 Experts available now in Live!

Get 1:1 Help Now