TestimoX

API Reference

Class

Firewall

Namespace ComputerX.Firewall
Assembly ComputerX
Modifiers static

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.