WiFi Framework C++ Edition

◆ GetConnectedToInternet()

int GetConnectedToInternet ( bool & Connected) const

Checks if the associated network connection has Internet connectivity.

Parameters
ConnectedOn output if True, this network connection has connectivity to the Internet; if False, it does not.
Returns
If the function succeeded the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.