INetworkConnection interface (netlistmgr.h)

The INetworkConnection interface represents a single network connection.


The INetworkConnection interface inherits from the IUnknown interface. INetworkConnection also has these types of members:


The INetworkConnection interface has these methods.

Method Description
INetworkConnection::get_IsConnected The get_IsConnected property specifies if the associated network connection has network connectivity.
INetworkConnection::get_IsConnectedToInternet The get_IsConnectedToInternet property specifies if the associated network connection has internet connectivity.
INetworkConnection::GetAdapterId The GetAdapterID method returns the ID of the network adapter used by this connection.
INetworkConnection::GetConnectionId The GetConnectionID method returns the Connection ID associated with this network connection.
INetworkConnection::GetConnectivity The GetConnectivity method returns the connectivity state of the network connection.
INetworkConnection::GetDomainType The GetDomainType method returns the domain type of the network connection.
INetworkConnection::GetNetwork The GetNetwork method returns the network associated with the connection.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netlistmgr.h