System Configuration framework question re airport
System Configuration framework question re airport
- Subject: System Configuration framework question re airport
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 29 Sep 2009 15:42:52 -0400
Not sure what list to send this to....
I've written a Cocoa method using the System Configuration framework
to detect whether the AirPort card is powered on. I first test for a
network interface of type kSCNetworkInterfaceTypeIEEE80211 (AirPort).
Then, if one is present, I get its configuration dictionary and
extract the value associated with its "PowerEnabled" key. A user is
reporting that this returns nil. I thought it was illegal for a
kSCNetworkInterfaceTypeIEEE80211 interface to have a configuration
dictionary that does NOT contain the "PowerEnabled" key, so i didn't
test for nil.
Can a kSCNetworkInterfaceTypeIEEE80211 interface configuration
dictionary lawfully omit a "PowerEnabled" key? Under what
circumstances? Can anybody point me to documentation?
--
Bill Cheeseman
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden