INetFwV6Connection interface

[The IPv6 Internet Connection Firewall is available for use in the operating systems specified in the Requirements section. Instead, use the Windows Firewall API.]

The INetFwV6Connection interface represents an IPv6 connection, and is the main interface to perform actual configuration tasks.

Members

The INetFwV6Connection interface inherits from the IDispatch interface. INetFwV6Connection also has these types of members:

Methods

The INetFwV6Connection interface has these methods.

Method Description
ClosePort Closes a port.
DisableFirewall Disables the IPv6 firewall.
EnableFirewall Enables the IPv6 firewall.
EnumerateIgnoredGlobalPorts Enumerates the set of port and protocol pairs that ignores the global setting.
EnumerateOpenPorts Enumerates the open ports.
get_Id Retrieves the contents of the Id property.
get_IgnoredGlobalPorts Retrieves a collection of ignored global ports.
get_IgnoredGlobalPorts Retrieves the set of port and protocol pairs that ignore the global setting.
get_IsFirewalled Retrieves the contents of the IsFirewalled property.
get_Name Retrieves the contents of the Name property.
get_OpenPorts Retrieves the contents of the OpenPorts property.
IgnoreGlobalPort Ignore global setting for permitting inbound connections.
IsPortOpen Indicates if the port is open.
ObserverGlobalPort Allows global port and protocol setting to take precedence.
OpenPort Opens a port.

Properties

The INetFwV6Connection interface has these properties.

Property Description
Id
The connection's ID (GUID).
IgnoredGlobalPorts
Retrieves the set of port and protocol pairs that ignore the global setting.
IsFirewalled
Indicates whether this connection is firewalled.
IsGlobalPortIgnored
Indicates whether the global setting for this port and protocol is ignored.
Name
The connection's name.
OpenPorts
Collection of open ports.

Requirements

Minimum supported client
Windows XP with SP1 [desktop apps only]
Minimum supported server
None supported
End of client support
Windows XP with SP1
Redistributable
Advanced Networking Pack for Windows XP
Header
Netfwv6.h
DLL
Netfwv6.dll

See also

IDispatch

IEnumNetFwV6Connections::Next

INetFwV6Connection::ClosePort

INetFwV6Connection::DisableFirewall

INetFwV6Connection::EnableFirewall

INetFwV6Connection::EnumerateOpenPorts

INetFwV6Connection::Id

INetFwV6Connection::IsFirewalled

INetFwV6Connection::IsPortOpen

INetFwV6Connection::Name

INetFwV6Connection::OpenPort

INetFwV6Connection::OpenPorts

INetFwV6Mgr::GetConnection

PORT_PROTOCOL

IUnknown