Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetworkConnectivityLevel enumeration

Applies to Windows and Windows Phone

Defines the level of connectivity currently available.


var value = Windows.Networking.Connectivity.NetworkConnectivityLevel.none;




The NetworkConnectivityLevel enumeration has these members.

None | none0

No connectivity.

LocalAccess | localAccess1

Local network access only.

ConstrainedInternetAccess | constrainedInternetAccess2

Limited internet access.

This value indicates captive portal connectivity, where local access to a web portal is provided, but access to the Internet requires that specific credentials are provided via the portal. This level of connectivity is generally encountered when using connections hosted in public locations (e.g. coffee shops and book stores).

Note  This doesn't guarantee detection of a captive portal. Windows Store apps should also test if the captive portal can be reached using a URL for the captive portal, or by attempting access to a public web site which will then redirect to the captive portal when Windows reports LocalAccess as the current NetworkConnectivityLevel.

InternetAccess | internetAccess3

Local and Internet access.


For an example of how these values are used to indicate connection changes, see Quickstart: Managing connection events and changes in availability.


Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]


Windows::Networking::Connectivity [C++]



See also

Quickstart: Managing connection events and changes in availability



© 2014 Microsoft