|
From: | Chris Vetter |
Subject: | Re: Hosts MAC address available from within Foundation? |
Date: | Tue, 20 Mar 2007 21:36:25 +0100 |
User-agent: | GNUMail (Version 1.2.0) |
Is there some part of the Foundation API that lets me unambiguously discoverthe MAC address of the host running the application?
No, but you can use getaddrinfo(3) to obtain a socket address structure, then loop through each entry and check whether it's AF_LINK.
-- Chris
[Prev in Thread] | Current Thread | [Next in Thread] |