INetConnection interface

[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.

Members

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

Methods

The INetConnection interface has these methods.

MethodDescription
Connect

Establish the network connection.

Delete

Delete the network connection from the connections folder.

Disconnect

Disconnect the network connection.

Duplicate

Create a duplicate of the network connection.

GetProperties

Retrieve the properties for the network connection.

GetUiObjectClassId

Retrieve the class identifier of the user interface for the connection.

Rename

Rename the connection.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

None supported

Header

NetCon.h

DLL

Hnetcfg.dll

See also

Internet Connection Sharing and Internet Connection Firewall Reference
Internet Connection Sharing and Internet Connection Firewall Interfaces

 

 

Show: