WiFi Framework C++ Edition

◆ GetConnectedToInternet()

int GetConnectedToInternet ( bool &  Connected) const

Checks if the network has Internet connectivity.

Parameters
ConnectedIf the method succeeded on output returns the Internet connectivity state. If the Connected is True, the network is connected to the Internet; if the Connected is False, it is not.
Returns
If the function succeeded the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.