WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclNetworkListManager.GetConnected Method

Checks if the machine has network connectivity.

Syntax
Pascal
function GetConnected(out Connected: Boolean): Integer;
Parameters 
Description 
out Connected: Boolean 
If the method succeeded on output returns the network connectivity state.
If the Connected is True, the network has at least local connectivity via ipv4 or ipv6 or both. The network may also have internet connectivity. Thus, the network is connected.
If the Connected is False, the network does not have local or internet connectivity. The network is not connected.
 

If the function succeeded the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Copyright (c) 2006-2019. All rights reserved.