Re: Detecting AirPort Power Enabled
Re: Detecting AirPort Power Enabled
- Subject: Re: Detecting AirPort Power Enabled
- From: Quinn <email@hidden>
- Date: Thu, 1 Oct 2009 09:52:26 +0100
At 06:57 -0400 30/9/09, Bill Cheeseman wrote:
I've written a Cocoa method using the System Configuration framework
to detect whether the AirPort card is powered on.
Taking a step back for a minute, have you thought about doing this
with CoreWLAN rather than System Configuration. CoreWLAN has a
specific method, -[CWInterface power], to check whether the interface
is powered up. You can also register for a notification,
kCWPowerDidChangeNotification, that's sent when the state changes.
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