API Reference
Class
FirewallProfileSystemWriter
Default system writer implementation for firewall profile settings.
Inheritance
- Object
- FirewallProfileSystemWriter
Methods
public virtual 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 virtual 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 virtual Boolean SetPolicy(String computerName, FirewallProfilePolicy policy) #Returns:
BooleanWrites policy settings for a profile.
Parameters
- computerName System.String
- policy ComputerX.Firewall.FirewallProfilePolicy
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Fields
public static readonly FirewallProfileSystemWriter Default #Gets the shared writer instance.