Hi,
I just tested the following code base on your Link:
SystemState state = new SystemState(SystemProperty.ConnectionsCellularCount);
int conn = (int)state.CurrentValue;
MessageBox.Show("Value :" + conn.ToString());
1. The above code The return value always 0 either in Wifi or Gprs or 3G netwwork.
is the above code correct? is 0 means not connected and 1 means connected?
2. I guess for the wifi , I just change it to :WifiStateConnected.
Is this correct?
Peace is the fruit of Love