NLM_INTERNET_CONNECTIVITY enumeration

The NLM_INTERNET_CONNECTIVITY enumeration defines a set of flags that provide additional data for IPv4 or IPv6 network connectivity.

Syntax


typedef enum  { 
  NLM_INTERNET_CONNECTIVITY_WEBHIJACK  = 0x1,
  NLM_INTERNET_CONNECTIVITY_PROXIED    = 0x2,
  NLM_INTERNET_CONNECTIVITY_CORPORATE  = 0x4
} NLM_INTERNET_CONNECTIVITY;

Constants

NLM_INTERNET_CONNECTIVITY_WEBHIJACK

Indicates that the detected network is a hotspot. For example, when connected to a coffee Wi-Fi hotspot network and the local HTTP traffic is being redirected to a captive portal, this flag will be set.

NLM_INTERNET_CONNECTIVITY_PROXIED

Indicates that the detected network has a proxy configuration. For example, when connected to a corporate network using a proxy for HTTP access, this flag will be set.

NLM_INTERNET_CONNECTIVITY_CORPORATE

Indicates that the machine is configured for Direct Access and that access to the corporate domain network, for which Direct Access was previously configured, has been detected.

Remarks

These connectivity flags can be retrieved by querying for the NA_InternetConnectivityV4 or NA_InternetConnectivityV6 properties using the IPropertyBag interface for an INetwork or INetworkConnection interface.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Netlistmgr.h

IDL

Netlistmgr.idl

See also

INetwork
INetworkConnection
IPropertyBag

 

 

Community Additions

ADD
Show:
© 2015 Microsoft