could use a shell and do

networksetup -listallhardwareports | egrep -A 2 "(AirPort|Wi-Fi)" | grep 
Ethernet

http://stackoverflow.com/questions/7973887/bash-script-to-display-mac-airport-mac-address







On Jul 27, 2012, at 12:27 PM, Jon Daggett <[email protected]> wrote:

> Hi,
> 
> Does anyone know how to determine the WiFi address on a Mac?
> 
> I know you can do a System.GetNetworkInterface(x).IPAddress but you can't 
> tell if it is ethermet, wifi, etc., and you will also pick up the internet 
> sharing, etc.  I need to make sure it's the IP for WiFi (Airport).
> 
> Or is there a way to get the name of a network interface?
> 
> 
> Thanks.
> 
> Jon
> 
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
> 

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to