Link to home
Start Free TrialLog in
Avatar of quantum2
quantum2

asked on

Manuf and Model Info

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
Avatar of nietod
nietod

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.)
Avatar of quantum2

ASKER

Assume the OS is NT and higher only.

Thanks

Q2
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
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
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.
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.

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
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.
ASKER CERTIFIED SOLUTION
Avatar of ComTech
ComTech

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial