Partager via


INetFwV6Mgr 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 INetFwV6Mgr is the entry point interface for the IPv6 Internet Connection Firewall Configuration API. A caller can obtain this interface by creating an object with CLSID CLSID_NetFwV6Mgr. This is the only interface for which there is an object that can be created; all other interfaces can only be obtained through method calls within the API's object model.

Members

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

Methods

The INetFwV6Mgr interface has these methods.

Method Description
CloseGlobalPort Closes a firewall port/protocol.
EnumerateConnections Enumerates IPv6 connections.
EnumerateGloballyOpenPorts Returns an enumerator of globally open port/protocol pairs.
get_Connections Retrieves the contents of the Connections property.
get_GloballyOpenPorts Retrieves a collection of the port/protocol pairs which are globally open.
get_LogConnections Retrieves the contents of the LogConnections property.
get_LogDroppedPackets Retrieves the contents of the LogDroppedPackets property.
get_LogfileMaximumSize Retrieves the contents of the LogfileMaximumSize property.
get_LogfilePath Retrieves the contents of the LogfilePath property.
GetConnection Retrieves an IPv6 connection given its ID.
IsPortGloballyOpen Tests if inbound connections are allowed.
OpenGlobalPort Opens a firewall port/protocol for inbound connections.
put LogfilePath Sets the contents of the LogfilePath property.
put_LogConnections Sets the contents of the LogConnections property.
put_LogDroppedPackets Sets the contents of the LogDroppedPackets property.
put_LogfileMaximumSize Sets the contents of the LogfileMaximumSize property.

Properties

The INetFwV6Mgr interface has these properties.

Property Access type Description
Connections
Read-only
Access a collection of the IPv6 connections.
(Inherited from INetFwV6Mgr)
GloballyOpenPorts
Read-only
Access a collection of the port/protocol pairs that are globally open.
(Inherited from INetFwV6Mgr)
LogConnections
Read/write
Enables or disables the logging of connection information.
(Inherited from INetFwV6Mgr)
LogDroppedPackets
Read/write
Enables or disables the logging of dropped packets.
(Inherited from INetFwV6Mgr)
LogfileMaximumSize
Read/write
Sets the maximum size for log file.
(Inherited from INetFwV6Mgr)
LogfilePath
Read/write
Sets the path of the log file.
(Inherited from INetFwV6Mgr)

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

INetFwV6Mgr.Connections

INetFwV6Mgr::EnumerateConnections

INetFwV6Mgr::GetConnection

INetFwV6Mgr.LogConnections

INetFwV6Mgr.LogDroppedPackets

INetFwV6Mgr.LogfilePath

INetFwV6Mgr.LogfileMaximumSize

IUnknown