INetFwRules interface

The INetFwRules interface provides a collection of firewall rules.


The INetFwRules interface has these methods.

Method Description
INetFwRules::Add The Add method adds a new rule to the collection.
INetFwRules::get__NewEnum Returns an object supporting IEnumVARIANT that can be used to iterate through all the rules in the collection.
INetFwRules::get_Count Returns the number of rules in a collection.
INetFwRules::Item The Item method returns the specified rule if it is in the collection.
INetFwRules::Remove The Remove method removes a rule from the collection.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netfw.h

See Also