>>Hi All,
>>
>>I am looking for a 32 bit integer that is unique to each machine. I thought that the GUID, as part of it, had a unique machine identifier.
>>
>>Thanks in advance.
>
>I would also try for the MAC address of the network card - but I don't know how to obtain it. Please note that (a) not all machines will have a network card, but perhaps you are only interested in machines that are connected, and (b) the size of the MAC address is not 32 bits, but 48 bits (6 bytes).
>
>If it is for primary keys, you might also go ahead and use the GUID function - each call of the GUID function will give a different value. But this one takes up 16 bytes.
Acctually, I am building a Authentication Code generator and validator. The unique ID is used to uniquely identify the machine when generating the code. Therefore, when validated, it will validate true only on a single machine. The user could not pass the code around, to allow other to use.
Also, it must be availiable and accessible from Win98 and greater machines.
Greg Reichert