Which is the better approach on checking if the device is connected to a wireless network? Using the SSID class? or Ping on a computer using the Ping class? I would like some help on this issue. I want to check for network connectivity before sending any data from the device.