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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to