On Mar 3, 2013, at 8:58 PM, Jason T. Slack-Moehrle <slackmoeh...@gmail.com> 
wrote:

> I am using: IOServiceGetMatchingServices
> 
> kr = IOServiceGetMatchingServices(kIOMasterPortDefault,
> 
>  IOServiceNameMatching("AppleUSBEHCI"), &io_objects);
> 
> I am looking for how I find out information about the internal HD as the
> above will prob USB device.
> 
> I cannot seem to find a list or anything that would tell me this.
> 
> Essentially I am looking for a way to get a unique ID from the system. On
> Windows the other developer uses the hard disk id.

On OS X, it is typical to use the system serial number, MAC address of the 
primary network interface, or the hardware UUID to uniquely identify a system. 
Of course, each of those can change for different reasons.

Technote 1103 includes sample code & some discussion of the various caveats:

http://developer.apple.com/library/mac/#technotes/tn1103/_index.html

-- 
Ben

_______________________________________________

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

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

Reply via email to