INetFwProfile interface (netfw.h)

[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 INetFwProfile interface provides access to the firewall settings profile.

Inheritance

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

Methods

The INetFwProfile interface has these methods.

 
INetFwProfile::get_AuthorizedApplications

Retrieves the collection of authorized applications of the profile.
INetFwProfile::get_ExceptionsNotAllowed

Indicates whether the firewall should not allow exceptions. (Get)
INetFwProfile::get_FirewallEnabled

Indicates whether the firewall is enabled. (Get)
INetFwProfile::get_GloballyOpenPorts

Retrieves the collection of globally open ports of the profile.
INetFwProfile::get_IcmpSettings

Retrieves the ICMP settings of the profile.
INetFwProfile::get_NotificationsDisabled

Indicates whether interactive firewall notifications are disabled. (INetFwProfile.get_NotificationsDisabled)
INetFwProfile::get_RemoteAdminSettings

Specifies the settings governing remote administration.
INetFwProfile::get_Services

Retrieves the collection of services of the profile.
INetFwProfile::get_Type

Specifies the type of the profile.
INetFwProfile::get_UnicastResponsesToMulticastBroadcastDisabled

Indicates whether the firewall should not allow unicast responses to multicast and broadcast traffic. (INetFwProfile.get_UnicastResponsesToMulticastBroadcastDisabled)
INetFwProfile::put_ExceptionsNotAllowed

Indicates whether the firewall should not allow exceptions. (Put)
INetFwProfile::put_FirewallEnabled

Indicates whether the firewall is enabled. (Put)
INetFwProfile::put_NotificationsDisabled

Indicates whether interactive firewall notifications are disabled. (INetFwProfile.put_NotificationsDisabled)
INetFwProfile::put_UnicastResponsesToMulticastBroadcastDisabled

Indicates whether the firewall should not allow unicast responses to multicast and broadcast traffic. (INetFwProfile.put_UnicastResponsesToMulticastBroadcastDisabled)

Remarks

Instances of this interface are retrieved through the CurrentProfile property or GetProfileByType method of the INetFwPolicy interface.

All configuration changes take effect immediately.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header netfw.h

See also

IDispatch

INetFwAuthorizedApplications

INetFwRemoteAdminSettings

IUnknown

InetFwServices