TestimoX

API Reference

Class

RuleRecord

Namespace ADPlayground.Gpo.FirewallScriptBlockEvaluator
Assembly ADPlayground
Implements
IEquatable<RuleRecord>
Modifiers sealed

Represents a single firewall rule policy entry (WindowsFirewall\\FirewallRules) that references script hosts.

Inheritance

  • Object
  • RuleRecord

Constructors

public RuleRecord(String ValueName, String StringValue) #

Represents a single firewall rule policy entry (WindowsFirewall\\FirewallRules) that references script hosts.

Parameters

ValueName System.String requiredposition: 0
Registry value name of the rule.
StringValue System.String requiredposition: 1
Raw rule string payload.

Methods

public RuleRecord <Clone>$() #
Returns: RuleRecord
public Void Deconstruct(out String ValueName, out String StringValue) #
Returns: Void

Parameters

ValueName String requiredposition: 0
StringValue String requiredposition: 1
public virtual Boolean Equals(RuleRecord other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

Properties

public String ValueName { get; set; } #

Registry value name of the rule.

public String StringValue { get; set; } #

Raw rule string payload.

public String Action { get; set; } #

Rule action (Allow/Block), when parsed from the payload.

public String Direction { get; set; } #

Rule direction (In/Out), when parsed from the payload.

public String Program { get; set; } #

Program path (App) targeted by the rule, when present.

public String Profiles { get; set; } #

Profiles mask (Domain/Private/Public or explicit string), when parsed.

public String Name { get; set; } #

Friendly rule name, when present.