I would like to check internet connectivity type in Windows Universal Application.
- Not Connected
- Connected via WLAN(WiFi)
- Connected via WWAN(Cellular Data)
- Connected to a metered network
in order to provide an option for downloading large size content. And also sense the significant network availability changes.
Currently, I'm only able to check whether internet connected or not using GetIsNetworkAvailable method of NetworkInterface class.
NetworkInterface.GetIsNetworkAvailable();