objective c - How to get WiFi encryption mode on iOS/iPhone/iPad? -


how wi-fi encryption mode in ios without private libraries?

the code answer above has been posted on website: http://www.codeproject.com/articles/621213/non-standard-way-to-get-inaccessible-data-from-ios

by way, code work need include appropriate header files #include <mach/mach.h> compiler recognizes ndr_record_t ndr.

however, whole setup did not return me encryption mode of current wifi, rather configuration of airport (the variable key in code above needs set nsstring *key = @"setup:/network/interface/en0/airport"; before). tried different values instead of airport got running $scutil in terminal of mac (such setup:/network/interface/en0/ipv4 or setup:/network/interface/en0/modem or this website)

hope helps having similar issues...


Comments