摘要:
#include<sys/socket.h>// Per msqr#include<sys/sysctl.h>#include<net/if.h>#include<net/if_dl.h>#pragma mark MAC// Return the local MAC addy// Courtesy of FreeBSD hackers email list// Accidentally munged during previous update. Fixed thanks to mlamb.- (NSString*) macaddress{int 阅读全文