I am using the following code to get the current SSID:
var dict = CaptiveNetwork.CopyCurrentNetworkInfo(curInterface);
string localSsid = dict [CaptiveNetwork.NetworkInfoKeySSID].ToString();
Console.Writeline("Current Local SSID: " + localSsid);
However, often the result is out of date (on the order of minutes or more). I noticed that if I go into settings on the iPad and manually switch to another network just for 5 seconds and then switch back, that the code will then capture the correct SSID.
I am running iOS 5.0 and MonoTouch 3.2.12. Is my code incorrect or is this a bug in MonoTouch or iOS?