Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Obtaining SSID and other network information.



I have used some of the code from the sample ‘GetMACAddressSample’ to obtain things like the Mac Address of the current connected adapter, and if it is wireless or not, but I am not sure how to obtain other Network information, such as the SSID, Mac address of the SSID, which is equal to the ‘Base Station ID’ displayed in ‘Internet Connection’ app on my 10.3.8 box. In conjunction I would like always be able to obtain, in my code, other network information, such as the Subnet Mask, Default Gateway, settings and so on.

 

Does anyone know of some sample code or reading information that will help me in this task? Or even some APIs that I should be concentrating on that I could search some or the Darwin code for?

 

Thanks for reading

Carl

 



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.