API Reference
Interface
IFirewallProfileWriter
Abstraction for applying firewall profile settings to the system.
Methods
public abstract Boolean SetEnabled(FirewallProfileKind profile, Boolean enabled) #Returns:
BooleanEnables or disables the firewall for the specified profile(s).
Parameters
- profile ComputerX.Firewall.FirewallProfileKind
- enabled System.Boolean
public abstract Boolean SetLogging(String computerName, FirewallLoggingPolicy policy, Boolean toPolicyPath) #Returns:
BooleanWrites logging settings for a profile.
Parameters
- computerName System.String
- policy ComputerX.Firewall.FirewallLoggingPolicy
- toPolicyPath System.Boolean
public abstract Boolean SetPolicy(String computerName, FirewallProfilePolicy policy) #Returns:
BooleanWrites policy settings for a profile.
Parameters
- computerName System.String
- policy ComputerX.Firewall.FirewallProfilePolicy