Read airport connection status
Read airport connection status
- Subject: Read airport connection status
- From: email@hidden
- Date: Thu, 14 Oct 2010 11:07:09 +0530
Hi all,
I would like know if there is any equivalent API in system configuration framework to retrieve the output similar to /usr/sbin/networksetup -getinfo "Airport". i.e I would like to know if the Wifi network is connected successfully, if not wait until network is actually connected. networksetup tool returns IP address only when the airport is connected successfully. In SC framework SCNetworkInterfaceGetConfiguration API returns only one key. There seems no API that returns current configuration of the service name. (AirPort). There is API to establish the connection using service SCNetworkServiceEstablishDefaultConfiguration, but no API to retrieve the configuration information of the service?
Thanks in advance.
Michael
--------------------------------------------------------------
Ovi Mail: Making email access easy
http://mail.ovi.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden