CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Posts
    100

    UUIDGEN - Universally unique identifier

    I guess UUIDGEN creates a number which is unique on the local PC I'm working.
    How can I be sure that this number is unique among all PCs in the world ?

    This number is used for creating the file at the user level and for creating the device at the kernel level.

    If a PC is installed with 2 drivers with the same number I guess it will cause problems.

    Thanks.

  2. #2
    Join Date
    Sep 2005
    Location
    London
    Posts
    208

    Re: UUIDGEN - Universally unique identifier

    UUID = UNIVERSALLY Unique Identifier

    There are three algorithms to generate UUIDs:
    1. Using the unique values of 802 MAC addresses to guarantee uniqueness.
    2. Using pseudo-random number generators
    3. Using cryptographic hashing and application-provided text strings.

    Using one of the following algorithms will generate a unique identifier from all other UUIDs that have been or will be assigned.


    Regards
    Doron Moraz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured