Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique ID for the machine.
Message
From
10/02/2005 14:46:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/02/2005 12:32:12
General information
Forum:
Windows
Category:
Other
Miscellaneous
Thread ID:
00985632
Message ID:
00985718
Views:
16
>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform