Re: Status Change Notification
Re: Status Change Notification
- Subject: Re: Status Change Notification
- From: Quinn <email@hidden>
- Date: Fri, 4 Dec 2009 10:14:04 +0000
At 09:18 +0100 4/12/09, Stefan Lehrner wrote:
How can I receive changes of my Interfaces? Ex. Ethernet is
online/offline or when AirPort connects/disconnects to/from a WLAN?
Via the System Configuration framework dynamic store APIs. I don't
think we have a sample that addresses your specific needs, but if you
search developer.apple.com for SCDynamicStoreCreate you'll find a
number of snippets that monitor various other things.
Also, on Mac OS X 10.6 and later you can use the CoreWLAN framework
to get detailed information about the state of the AirPort interface.
This is not necessary for simple up/down notifications, but it's
useful if you want to do anything more complex.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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