INetFwAuthorizedApplication 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 INetFwAuthorizedApplication interface provides access to the properties of an application that has been authorized have openings in the firewall.

Members

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

Methods

The INetFwAuthorizedApplication interface has these methods.

MethodDescription
get_Enabled

Retrieves the contents of the Enabled property for this application.

get_IpVersion

Retrieves the contents of the IpVersion property for this application.

get_Name

Retrieves the contents of the Name property for this application.

get_ProcessImageFileName

Retrieves the contents of the ProcessImageFileName property for this application.

get_RemoteAddresses

Retrieves the contents of the RemoteAddresses property for this application.

get_Scope

Retrieves the contents of the Scope property.

put_Enabled

Sets the contents of the Enabled property for this application.

put_IpVersion

Sets the contents of the IpVersion property for this application.

put_Name

Sets the contents of the Name property for this application.

put_ProcessImageFileName

Sets the contents of the ProcessImageFileName property for this application.

put_RemoteAddresses

Sets the contents of the RemoteAddresses property for this application.

put_Scope

Sets the contents of the Scope property.

 

Properties

The INetFwAuthorizedApplication interface has these properties.

PropertyDescription

Enabled

Accesses the Enabled property for this application.

IpVersion

Accesses the IpVersion property for this application.

Name

Accesses the Name property for this application.

ProcessImageFileName

Accesses the ProcessImageFileName property for this application.

RemoteAddresses

Accesses the RemoteAddresses property for this application.

Scope

Accesses the contents of the Scope property.

 

Remarks

When creating new applications, this interface is supported by the HNetCfg.FwAuthorizedApplication COM object.

For reading or modifying existing applications, instances of this interface are retrieved through the INetFwAuthorizedApplications collection.

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
INetFwAuthorizedApplications

 

 

Show: