Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How good is sys(2015) in multiuser environment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00374031
Message ID:
00392161
Vues:
14
>John is this concidered unique world wide?

Yes. In general, a GUID is generated using the net card address, which in itself is unique. So you've already got a number that's unique from every other machine on the planet. Now, to make sure that the GUID is unique to that particular machine, the system clock is used to generate a unique 128-bit value from the NIC address. If the box doesn't have a NIC, the process uses to create the GUID. In this case, the chances higher, but still extremely slim, that the value will not be unique.

If you need to create GUIDs in code (I haven't been following the thread), CoCreateGUID() will do the trick. If you need a UUID that can't be traced back to the Ethernet card address, use UuidCreate().

>I guess what I am trying to find out is just how unique this is?

About as unique as you're going to get. It seems to be generally accepted that if you need a truly unique value that is universally unique, a GUID/UUID is the way to go.
Mike Stewart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform