wclNlmNetworkGetConnectedToInternet Method |
Checks if the network has internet connectivity.
Namespace: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int GetConnectedToInternet(
out bool Connected
)
Public Function GetConnectedToInternet (
<OutAttribute> ByRef Connected As Boolean
) As Integer
public:
int GetConnectedToInternet(
[OutAttribute] bool% Connected
)
Parameters
- Connected 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
Int32 If the function succeeded the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
See Also