INetwork::get_IsConnectedToInternet method

The get_IsConnectedToInternet property specifies if the network has internet connectivity.

Syntax


HRESULT STDMETHODCALLTYPE get_IsConnectedToInternet(
  [out]  VARIANT_BOOL *pbIsConnected
);

Parameters

pbIsConnected [out]

If TRUE, this network has connectivity to the internet; if FALSE, it does not.

Return value

Returns S_OK if successful.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft