TwclNlmNetwork.GetConnectedToInternet(Boolean) Method

Checks if the network has internet connectivity.

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

Parameters

Connected
Type: Boolean

If the method succeeded on output returns the internet conictivity state.

If the Connected is True, the network is connected to the internet; if the Connected is False, it is not.

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.