wclNlmNetworkGetConnected Method |
Checks if the network has any network
connectivity.
Namespace: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int GetConnected(
out bool Connected
)
Public Function GetConnected (
<OutAttribute> ByRef Connected As Boolean
) As Integer
public:
int GetConnected(
[OutAttribute] bool% Connected
)
Parameters
- Connected Boolean
If the method succeeded on output
returns the network connectivity state.
If the Connected is True, the network has at
least local connectivity via ipv4 or ipv6 or both. The network may
also have internet connectivity. Thus, the network is
connected.
If the Connected is False, the network does not
have local or internet connectivity. The network is not
connected.
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