Re: Get the Mac address programmatically
Re: Get the Mac address programmatically
- Subject: Re: Get the Mac address programmatically
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 10 May 2007 18:11:14 -0700
On 5/10/07, Jerry <email@hidden> wrote:
Hi,
Is there a way to directly retrieve the MAC address programmatically without
using the System Configuration Framework?
You can access the MAC address via IOKit.
Apple even has sample code showing how to do this. :)
<http://developer.apple.com/samplecode/GetPrimaryMACAddress/index.html>
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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