On Jul 21, 2011, at 11:33 AM, vincent habchi wrote: > But anyhow, as somebody pointed out, there are far better ways to get the MAC > address of the en0 port than executing BSD commands in a subprocess.
Apple sample code GetPrimaryMACAddress works well with Lion. http://developer.apple.com/library/mac/#samplecode/GetPrimaryMACAddress/ --Richard _______________________________________________ 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