There is a private command line utility at the path: /System/Library/PrivateFrameworks/Apple80211.framework/Versions/ Current/Resources/airport
One word of warning about using this utility: it's output seems to change between OS builds (at least major ones)... So be prepared to update this code, and test it on different OS versions.
I've noticed the output is actually different for certain values between 10.4 and 10.5. And in 10.5.2 the -x command line option does not work at all, so you'll have to write a parser for the output. But then again it's probably the most supported utility you have available to you at this point in time.
If this utility isn't enough for you, you can try the alternative, which is to see what other projects use to get this information. One good project to lookup would be MacStumbler. They have a header (Apple80211.h) which may prove useful to you.
Scott Tury _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
