API Reference
Class
FirewallRulePlan
Represents a prepared firewall rule plan ready for application.
Inheritance
- Object
- FirewallRulePlan
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Name { get; } #Gets the display name of the firewall rule.
public String Description { get; } #Gets the description assigned to the firewall rule.
public FirewallDirection Direction { get; } #Gets the traffic direction for the rule.
public FirewallProtocol Protocol { get; } #Gets the protocol filter for the rule.
public FirewallProfileKind Profiles { get; } #Gets the firewall profile mask.
public FirewallAction Action { get; } #Gets the firewall action (Allow or Block).
public String ApplicationName { get; } #Gets the optional application path for program rules.
public String LocalPorts { get; } #Gets the local ports string to apply (single port or range/list).
public String RemotePorts { get; } #Gets the remote ports string to apply (single port or range/list).
public Boolean Enabled { get; } #Gets a value indicating whether the rule is enabled.
public FirewallRuleCreateMode Mode { get; } #Gets the creation mode used to build the plan.