Solved

CPU/HDD Serial Number

Posted on 2002-07-10
4
459 Views
Last Modified: 2012-06-27
How would I get the CPU and HDD Serial numbers?
0
Comment
Question by:Irax
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Accepted Solution

by:
rameshnut earned 50 total points
ID: 7142750
there is NO specific NUMBER to uniquely identify a CPU (i am sorry for this unfortunate answer!) , but you can have a number associated with CPU that identifies its class (like, pentium 2, 3, 4 or celeron - but this number is not specific a single CPU but to a class of CPU's mentioned above)

HDD number is easy to obtain. you have the GetVolumeInformation() function in win SDK.

ramesh
0
 
LVL 30

Expert Comment

by:Axter
ID: 7144665
>>How would I get the CPU and HDD Serial numbers?
MS method for this was to get the Network card number.  All network cards have a unique ID number.
0
 
LVL 30

Expert Comment

by:Axter
ID: 7144677
>>How would I get the CPU
See:
Q118623 - HOWTO: Get the MAC Address for an Ethernet Adapter  

http://support.microsoft.com/support/kb/articles/q118/6/23.asp

A sample use of the CPUID opcode is shown in:

PRB: VC++ Debugger Won't Support Pentium-Specific Instructions
ID: Q121368

http://support.microsoft.com/support/kb/articles/Q121/3/68.asp

0
 
LVL 30

Expert Comment

by:Axter
ID: 7144688
Disregard last link.  It seems it has been removed from MS web site.

Q118623 is still good:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q118623
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

  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 …
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

623 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