TestimoX

API Reference

Enum

FirewallRuleCreateMode

Namespace ComputerX.Firewall
Assembly ComputerX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Describes which rule shape was selected for creation.

Inheritance

  • Enum
  • FirewallRuleCreateMode

Values

public const FirewallRuleCreateMode None #

No mode selected due to invalid specification.

Value: 0
public const FirewallRuleCreateMode InboundProgram #

Inbound program rule with optional protocol filter.

Value: 1
public const FirewallRuleCreateMode OutboundProgram #

Outbound program rule with optional protocol filter.

Value: 2
public const FirewallRuleCreateMode InboundPortSingle #

Inbound single-port rule.

Value: 3
public const FirewallRuleCreateMode OutboundPortSingle #

Outbound single-port rule.

Value: 4
public const FirewallRuleCreateMode InboundPortRange #

Inbound port range/list rule.

Value: 5
public const FirewallRuleCreateMode OutboundPortRange #

Outbound port range/list rule.

Value: 6