Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get an unique number of a PC

Status
Not open for further replies.

Gigatech

Programmer
Jul 12, 2000
80
CR
Hi, I use Delphi7. I need to get an unique number for each PC (example: processor number, serial number, etc). I got the HDD serial number. The problem is when I format the disk this number changes. I need a number that doesn't change never and unique for each PC.

Thanks
 
The problem with this, particularly for protection of your code, is the fact that as people upgrade their PC hardware a lot of these numbers change. In a corporate environment, its less frequent, but it does occur as PCs are rolled over (usually a 3 year cycle)

Given that, Torry ( quite a few freeware and shareware serial number extractors for all sorts of hardware. A search on serial number will give a list of at least 40 such components in their description.

Assuming you are trying to copy protect your application, you might like to consider a unique code generator (see Torry again) that links to a specific GUID or something similar. There are some great articles on copy protection on the web, but in the end its a fight against the hacker community.

Chris ;-)
 
A common way to get a unique ID was to use the PC's ethernet adaptor's MAC address. This needs to be unique in order for machines not to conflict on a network. However, software (and some network drivers) allow this number to be overridden, so keep that in mind.

I can't help you on getting the MAC address aside from echoing Chris in saying check out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top