Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

INetConnection interface (netcon.h)

[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]

The INetConnection interface provides methods to manage network connections.

Inheritance

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

Methods

The INetConnection interface has these methods.

 
INetConnection::Connect

The Connect method connects, or establishes, this network connection.
INetConnection::Delete

The Delete method deletes this connection from connections folder.
INetConnection::Disconnect

The Disconnect method disconnects this connection.
INetConnection::Duplicate

The Duplicate method creates a duplicate of this connection in the connections folder.
INetConnection::GetProperties

The GetProperties method retrieves a structure that contains the properties for this network connection.
INetConnection::GetUiObjectClassId

The GetUiObjectClassId method retrieves the class identifier of the user interface object for this connection.
INetConnection::Rename

The Rename method renames this connection.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header netcon.h

See also

Internet Connection Sharing and Internet Connection Firewall Interfaces

Internet Connection Sharing and Internet Connection Firewall Reference


Feedback

Was this page helpful?

Additional resources