WiFi Framework C++ Edition
Public Member Functions | List of all members
CwclNlmConnection Class Reference

The class represents a single network connection. More...

#include <wclNlm.h>

Public Member Functions

 CwclNlmConnection (NlmApi::INetworkConnection *const Connection)
 Creates a new Connection object.
 
virtual ~CwclNlmConnection ()
 Frees the network class.
 
int GetAdapterId (GUID &Id) const
 Reads the ID of the network adapter used by this connection.
 
int GetConnected (bool &Connected) const
 Checks if the associated network connection has network connectivity.
 
int GetConnectedToInternet (bool &Connected) const
 Checks if the associated network connection has Internet connectivity.
 
int GetConnectivity (wclNlmConnectivityFlags &Connectivity) const
 Reads the connectivity state of the network connection.
 
int GetDomainType (wclNlmDomainType &DomainType) const
 Reads the domain type of the network connection.
 
int GetId (GUID &Id) const
 Reads the Connection ID associated with this network connection.
 
int GetNetwork (CwclNlmNetwork *&Network) const
 Gets the network associated with the connection.
 

Detailed Description

The class represents a single network connection.

An application must never create objects of this class directly Instead an application must use the GetConnections method of the CwclNetworkListManager component or CwclNlmNetwork class.