• 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 does one get the OS Product name programatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does one get the OS Product name programatically?


  • Subject: Re: How does one get the OS Product name programatically?
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Fri, 12 May 2006 00:31:44 +0100

If you follow the conversation, you'll note that David suggested those
plists in the first instance. Relying on them is probably not
recommended, as I don't think there are any guarantees that they won't
change across releases of OS X

It's probably your best but until there's an actual API, though.

-- Finlay

On 11/05/06, plumber Idraulico <email@hidden> wrote:
make your test file on
/System/Library/CoreServices/ServerVersion.plist

or

/System/Library/CoreServices/SystemVersion.plist

load plist
copy plist into dict
get keys of dict

you needn't CFPriv to do this

Best Regards, Plum

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >re: How does one get the OS Product name programatically? (From: Brendan Creane <email@hidden>)
 >Re: How does one get the OS Product name programatically? (From: "Finlay Dobbie" <email@hidden>)
 >Re: How does one get the OS Product name programatically? (From: plumber Idraulico <email@hidden>)

  • Prev by Date: Darwin, Teredo & Miredo
  • Next by Date: Re: Shared mmap and data consistency upon a crash
  • Previous by thread: Re: How does one get the OS Product name programatically?
  • Next by thread: synchronizing hardware with mach_wait_until()?
  • Index(es):
    • Date
    • Thread