The permission on Android system is declared using the
uses-permission tag in the manifest node of the XML file:
<uses-permission android:name="android.permission.INTERNET" />
While this declaration will suffice in most use case scenarios, in order to access the current network status or the Wi-Fi status, you must also declare the network state permissions:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
For a Windows phone, the app capability to declare would be
Application manifests for both platforms...