API Reference
Class
RuleRecord
Represents a single firewall rule policy entry (WindowsFirewall\\FirewallRules) that references script hosts.
Inheritance
- Object
- RuleRecord
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method RuleRecord.<Clone>$
- Property View.Rules
Accepted by parameters
- Constructor View.View
- Method View.Deconstruct
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.