NSDictionary dict var status CaptiveNetwork TryCopyCurrentNetwor kInfo

1
2
3
4
5
6
7
NSDictionary dict;
var status = CaptiveNetwork.TryCopyCurrentNetworkInfo ("en0", out dict);
if (status == StatusCode.NoKey)
return;
var bssid = dict [CaptiveNetwork.NetworkInfoKeyBSSID];
var ssid = dict [CaptiveNetwork.NetworkInfoKeySSID];
var ssiddata = dict [CaptiveNetwork.NetworkInfoKeySSIDData];