TwclNlmNetwork.GetConnectedToInternet(Boolean) Method
Checks if the network has internet connectivity.
public function GetConnectedToInternet(out Connected: Boolean): Integer;
Parameters
- Connected
- Type: Boolean
If the method succeeded on output returns the internet conictivity state.
If the
ConnectedisTrue, the network is connected to the internet; if theConnectedisFalse, 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.