Re: Hardware UUID in New Mac Book Pro
Re: Hardware UUID in New Mac Book Pro
- Subject: Re: Hardware UUID in New Mac Book Pro
- From: "Grigutis, John A" <email@hidden>
- Date: Mon, 12 Oct 2009 00:32:46 -0400
- Acceptlanguage: en-US
- Thread-topic: Hardware UUID in New Mac Book Pro
On Oct 8, 2009, at 10:18 AM, Rajendran P wrote:
> Hi,
> How to fetch the Hardware UUID from New Mac Book Pro. Earlier Mac
> Book's system Profiler was showing Hardware UUID but in new
> machines, It might be hidden or stored in any other form/name.
> Is there any command or (c/cpp) api to get that ID?
I think you're looking for gethostuuid:
int gethostuuid(uuid_t id, const struct timespec *wait)
man gethostuuid for more info.
--
John Anthony Grigutis
Systems Analyst/Programmer/Mac Specialist
Indiana University : UITS : Communication & Support : SDD
_______________________________________________
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