How to check internet connectivity type in Universal Windows Platform
<p>I would like to check internet connectivity type in Windows Universal Application. </p>

<ol>
<li>Not Connected  </li>
<li>Connected via WLAN(WiFi)</li>
<li>Connected via WWAN(Cellular Data)</li>
<li>Connected to a metered network</li>
</ol>

<p>in order to provide an option for downloading large size content. And also sense the significant network availability changes.</p>

<p>Currently, I'm only able to check whether internet connected or not using <code>GetIsNetworkAvailable</code> method of <code>NetworkInterface</code> class.</p>

<pre><code>NetworkInterface.GetIsNetworkAvailable();
</code></pre>