INetworkConnection interface

The INetworkConnection interface represents a single network connection.

Members

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

Methods

The INetworkConnection interface has these methods.

MethodDescription
GetAdapterId

Returns the ID of the network adapter used by this connection. There may multiple connections using the same adapter ID.

GetConnectionId

Returns the Connection ID associated with this network connection.

GetConnectivity

Returns the connectivity state of the network.

GetDomainType

Returns the type of network connection.

GetNetwork

Returns the associated network for the connection.

 

Properties

The INetworkConnection interface has these properties.

PropertyAccess typeDescription

get_IsConnected

Read-only

Specifies if the associated network has any network connectivity.

get_IsConnectedToInternet

Read-only

Specifies if the associated network has any internet connectivity.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Netlistmgr.h

IDL

Netlistmgr.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft