• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to create a GUID?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a GUID?


  • Subject: Re: How to create a GUID?
  • From: Phil <email@hidden>
  • Date: Tue, 9 Sep 2008 17:02:22 +1200

On Tue, Sep 9, 2008 at 12:13 AM, Chris Suter <email@hidden> wrote:
> On Leopard (and possibly earlier–I haven't checked), it appears that the
> string returned is actually a UUID created with the CFUUID functions
> concatenated with the process ID and the result of mach_absolute_time() so
> the result isn't a proper UUID. I'm not sure where the host name is coming
> from; it's possible that the CFUUID functions incorporate it somehow.
>

The documentation doesn't specify any particular format for the string
returned, only the information used to seed it---I wouldn't recommend
depending on this method always returning a UUID incase this changes
(even though it probably won't).

Phil
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How to create a GUID? (From: Meik Schuetz <email@hidden>)
 >Re: How to create a GUID? (From: "Adam R. Maxwell" <email@hidden>)
 >Re: How to create a GUID? (From: "I. Savant" <email@hidden>)
 >Re: How to create a GUID? (From: "Chris Suter" <email@hidden>)

  • Prev by Date: Re: While we're on the subject of DMG's for software distribution...
  • Next by Date: Re: While we're on the subject of DMG's for software distribution...
  • Previous by thread: Re: How to create a GUID?
  • Next by thread: Re: How to create a GUID?
  • Index(es):
    • Date
    • Thread