How to get Wi-Fi security type

I am trying to figure out that it is possible to get the type of security of the network to which the device is connected (WEP / WPA). I know it is possible to get the SSID, but I had no luck getting the security type. Any help?

+3


source to share


1 answer


For macOS, you can use coreWLAN and then get the information you want from CWSecurity. But CoreWLAN is not available for iOS and SystemConfiguration cannot provide you with this information.



0


source







All Articles