API Reference
Class
RuleRecord
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
- Registry value name of the rule.
- StringValue System.String
- Raw rule string payload.
Methods
Inherited Methods
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.