API Reference
Class
Firewall
Convenience entry points for querying Windows Firewall profiles and rules on the local machine.
Inheritance
- Object
- Firewall
Methods
public static Task<List<FirewallProfileInfo>> GetProfilesAsync() #Returns:
Task<List<FirewallProfileInfo>>Returns effective firewall profile information (enabled, default actions, logging, policy flags).
public static Task<List<FirewallRuleInfo>> GetRulesAsync() #Returns:
Task<List<FirewallRuleInfo>>Returns currently enabled firewall rules on the local machine.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object