INetFwAuthorizedApplications interface

[The Windows Firewall API is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For Windows Vista and later, use of the Windows Firewall with Advanced Security API is recommended.]

The INetFwAuthorizedApplications interface provides access to a collection of applications authorized open ports in the firewall.

Members

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

Methods

The INetFwAuthorizedApplications interface has these methods.

MethodDescription
Add

Adds a new application to the collection.

get__NewEnum

Retrieves an enumerator for the collection.

get_Count

Retrieves the contents of the Count property.

Item

Returns the specified application if present in the collection.

Remove

Removes an application from the collection.

 

Properties

The INetFwAuthorizedApplications interface has these properties.

PropertyDescription

_NewEnum

Gets an enumerator for the collection.

Count

Gets the count for the collection.

 

Remarks

An instance of this interface is retrieved through the AuthorizedApplications property of the INetFwProfile interface.

All configuration changes take effect immediately.

Requirements

Minimum supported client

Windows Vista, Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Header

Netfw.h

DLL

FirewallAPI.dll;
Hnetcfg.dll on Windows XP with SP2

See also

IDispatch
IUnknown
INetFwProfile
INetFwProfile.AuthorizedApplications

 

 

Build date: 11/16/2013

Community Additions

ADD
Show:
© 2014 Microsoft