TwclNlmConnection.GetConnectedToInternet(Boolean) Method

Checks if the associated network connection has internet connectivity.

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

Parameters

Connected
Type: Boolean

On output if True, this network connection has connectivity to the internet; if False, it does 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.