How to get the network type the mobile platform is using, for example, wifi or mobile network?
HasActiveWiFiConnection