次の方法で共有


Windows Firewall with Advanced Security Interfaces

The Windows Firewall with Advanced Security API exposes the following interfaces.

Interface Purpose
INetFwPolicy2 Provides access to the firewall policy.
INetFwProduct Provides access to the properties of a third-party firewall registration.
INetFwProducts Provides access to the methods and properties for registering and enumerating third-party firewall products.
INetFwRule Provides access to the properties of a firewall rule.
INetFwRule2 Provides access to the properties and edge properties of a firewall rule.
INetFwRule3 Provides access to the properties of INetFwRule2 and to the requirements of app containers.
INetFwRules Provides access to a collection of firewall rules in the firewall or Windows Service Hardening policy.
INetFwServiceRestriction Provides access to the Windows Service policy.

 

Windows Firewall with Advanced Security Reference