Forum Home
PC World Chat
 
Thread ID: 61569 2005-09-09 06:18:00 How Can I Find Any Unique Serial Number Of PC Using VB6 ? sun (8791) PC World Chat
Post ID Timestamp Content User
387124 2005-09-09 06:18:00 I am wanted to find a unique number which is not in the other machine and it must remain same after the formation of all drives of PC i.e whenever my program run I will get only the same number.
Please give me solution.
sun (8791)
387125 2005-09-09 06:44:00 You asked virtually the same question yesterday. If you looked at the previous discussion here, you will have seen that there really isn't a solution.

The hardware does not exist. The Intel CPU serial number isn't there if the CPU isn't an Intel one.

There are a number of fairly obvious software "near-solutions", which a Software Engineer should surely have worked out, if a mere Linux User like me can see them. ;)

How about the Windows registration code? That might not be unique. ;) How about making the user make some entries to register the programme. From this, and the label of the hard disk, generate a secret code which can be stored in a small file. Then each time, read the label of the hard disk drive and check that its the same. (The disk label is read in a DOS style directory command. It defaults to be a an 8 character hexadecimal number, (32 bits.) That's probably as "unique" a hardware ID as you can find, but the user can change it.
Graham L (2)
387126 2005-09-09 08:35:00 windows reg code might not be a good idea. a simple OS upgrade will mean the softeare they paid for won't work/install etc. MS copy protection works by iding a range of hardware but even thats a pain when you upgrade you need to call MS to reactivate. tweak'e (69)
1