TwclNlmNetwork.GetConnected(Boolean) Method

Checks if the network has any network connectivity.

Namespace: wclNlm
public
 function GetConnected(out Connected: Boolean): Integer;

Parameters

Connected
Type: 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.

Return Value

Type: Integer

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