Table of Contents

Class WindowsFirewallConfiguration

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the configuration of the Windows Firewall with Advanced Security.

public class WindowsFirewallConfiguration : BypassSection
Inheritance
WindowsFirewallConfiguration
Inherited Members

Constructors

WindowsFirewallConfiguration()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsFirewallConfiguration class.

public WindowsFirewallConfiguration()

Properties

ActiveProfile

Gets or sets the active profile at the time of the scan.

public WindowsFirewallProfileType ActiveProfile { get; set; }

Property Value

WindowsFirewallProfileType

ActiveProfileString

Gets the name of the active profile at the time of the scan.

public string ActiveProfileString { get; set; }

Property Value

string

Domain

Gets or sets the domain profile.

public WindowsFirewallProfile Domain { get; set; }

Property Value

WindowsFirewallProfile

FirewallEnabled

Gets whether any profile is enabled.

public bool FirewallEnabled { get; }

Property Value

bool

IsGroupPolicyConfigured

Gets whether any of the settings are configured using Group Policy.

public bool IsGroupPolicyConfigured { get; }

Property Value

bool

IsGroupPolicyObject

Gets or sets whether the configuration is part of the Windows Firewall Group Policy extension.

public BooleanOption IsGroupPolicyObject { get; set; }

Property Value

BooleanOption

Private

Gets or sets the private profile.

public WindowsFirewallProfile Private { get; set; }

Property Value

WindowsFirewallProfile

Public

Gets or sets the public profile.

public WindowsFirewallProfile Public { get; set; }

Property Value

WindowsFirewallProfile

Rules

Gets or sets the rules configured for the firewall.

public WindowsFirewallRules Rules { get; set; }

Property Value

WindowsFirewallRules

Methods

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.WindowsFirewallConfiguration class from the specified XML.

public static WindowsFirewallConfiguration FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

WindowsFirewallConfiguration

A CENTREL.XIA.Configuration.Types.WindowsFirewallConfiguration class.

ToString()

Returns the CENTREL.XIA.Configuration.Types.WindowsFirewallConfiguration as a human readable string.

public override string ToString()

Returns

string

The CENTREL.XIA.Configuration.Types.WindowsFirewallConfiguration as a human readable string.