Searching for a reliable hardware ID
Translation maninwest@Codeforge Author: Michael n haephrati (האפתי) @ CodeProject many desktop application developers need to uniquely identify the computer running the software. This kind of identification must be able to generate a unique data element, each computer is different, and the same ID can be reproduced on the same given computer. &Windows provides a set of classes that can be used for hardware enumeration and identification tasks, called & nbsp; WMI (Windows Management Instrumentation), which is an extension of Windows Driver Model (WDM). According to the static information and dynamic information of changes provided by the installation components, WMI can use most programming languages on the server or computer for local and remote management, enumerate the installed components and remind of the changes. Through my research, I have concluded that if speed and reliability are important, it is better to access hardware through & nbsp; Win32 API rather than using & nbsp; WMI. I'm experiencing a lot of delays, and in some cases, WMI can't detect elements like & nbsp; CPU ID. This article focuses on the direct method of getting this data without using WMI. It seems that the best way to get a unique CPU ID is to sample the unique CPU ID (or CPU ID). However, there are several problems with this choice, making it almost impossible to rely on reading CPU IDs. First of all, except for the old Pentium III, most & nbsp; CPUs don't have a unique & nbsp; & nbsp; CPU serial number. Intel has removed this feature for security reasons. The whole motherboard can still generate a & nbsp; ID, which can be realized. However, due to many types of motherboards and many manufacturers, it is basically impossible to generate a unique ID covering all. A French company called CPU ID has done a lot of research in this area, they spend a lot of resources to get each motherboard and CPU
Related Source Codes
Using VC 6.0 to write serial port Wizard Code
Guess an integer within 100, 7 times in total (wit
Baidu address batch parsing source code
Creating an SDK
some vision processing file from opencv.