Table of Contents

Class WindowsFirewallProfile

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

Represents a Windows firewall profile - for example "Domain", "Public" or "Private".

public class WindowsFirewallProfile : GlobalSerializableClassicBase
Inheritance
WindowsFirewallProfile

Constructors

WindowsFirewallProfile()

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

public WindowsFirewallProfile()

Properties

AllowUnicastResponse

Gets or sets whether to allow a unicast response to multicast or broadcast network traffic.

public BooleanOption AllowUnicastResponse { get; set; }

Property Value

BooleanOption

AllowUnicastResponseSource

Gets or sets where the "AllowUnicastResponse" setting is configured.

public WindowsFirewallSettingSource AllowUnicastResponseSource { get; set; }

Property Value

WindowsFirewallSettingSource

ApplyLocalConnectionSecurityRules

Gets or sets whether local connection security rules should be applied. This setting can only be applied using Group Policy.

public BooleanOption ApplyLocalConnectionSecurityRules { get; set; }

Property Value

BooleanOption

ApplyLocalFirewallRules

Gets or sets whether local firewall policy rules should be applied. This setting can only be applied using Group Policy.

public BooleanOption ApplyLocalFirewallRules { get; set; }

Property Value

BooleanOption

DefaultInboundAction

Gets or sets the default action for inbound traffic.

public WindowsFirewallDefaultInboundAction DefaultInboundAction { get; set; }

Property Value

WindowsFirewallDefaultInboundAction

DefaultInboundActionSource

Gets or sets the configuration source for the default inbound action.

public WindowsFirewallSettingSource DefaultInboundActionSource { get; set; }

Property Value

WindowsFirewallSettingSource

DefaultInboundActionString

Gets the default action for inbound traffic as a human readable string.

public string DefaultInboundActionString { get; set; }

Property Value

string

DefaultOutboundAction

Gets or sets the default action for outbound traffic.

public WindowsFirewallDefaultOutboundAction DefaultOutboundAction { get; set; }

Property Value

WindowsFirewallDefaultOutboundAction

DefaultOutboundActionSource

Gets or sets the configuration source for the default outbound action.

public WindowsFirewallSettingSource DefaultOutboundActionSource { get; set; }

Property Value

WindowsFirewallSettingSource

DefaultOutboundActionString

Gets the default action for outbound traffic as a human readable string.

public string DefaultOutboundActionString { get; set; }

Property Value

string

DisplayNotification

Gets or sets whether a notification will be displayed to the user when a program is blocked by the firewall.

public BooleanOption DisplayNotification { get; set; }

Property Value

BooleanOption

DisplayNotificationSource

Gets or sets the configuration source for the display notification setting.

public WindowsFirewallSettingSource DisplayNotificationSource { get; set; }

Property Value

WindowsFirewallSettingSource

Enabled

Gets or sets whether this firewall profile is enabled.

public BooleanOption Enabled { get; set; }

Property Value

BooleanOption

EnabledSource

Gets or sets where the "Enabled" setting is configured.

public WindowsFirewallSettingSource EnabledSource { get; set; }

Property Value

WindowsFirewallSettingSource

ExcludedInterfaceNames

Gets or sets the names of the excluded interfaces.

public SerializableStringCollection ExcludedInterfaceNames { get; set; }

Property Value

SerializableStringCollection

Identifier

Gets or sets the unique identifier of the Windows Firewall profile.

public Guid Identifier { get; set; }

Property Value

Guid

IsGroupPolicyConfigured

Gets whether any of the settings in this profile is configured using Group Policy.

public bool IsGroupPolicyConfigured { get; }

Property Value

bool

LogDroppedPackets

Gets or sets whether the system should log packets that are dropped by the firewall.

public BooleanOption LogDroppedPackets { get; set; }

Property Value

BooleanOption

LogDroppedPacketsSource

Gets or sets the configuration source for the log dropped packets setting.

public WindowsFirewallSettingSource LogDroppedPacketsSource { get; set; }

Property Value

WindowsFirewallSettingSource

LogFilePath

Gets or sets the path to the log file - for example "%systemroot%\system32\LogFiles\Firewall\pfirewall.log".

public string LogFilePath { get; set; }

Property Value

string

LogFilePathSource

Gets or sets the configuration source for the log file path.

public WindowsFirewallSettingSource LogFilePathSource { get; set; }

Property Value

WindowsFirewallSettingSource

LogFilePathString

Gets the path to the log file - for example "%systemroot%\system32\LogFiles\Firewall\pfirewall.log" or "Not Configured".

public string LogFilePathString { get; set; }

Property Value

string

LogFileSizeLimit

Gets or sets the size limit of the log file in KB.

public int LogFileSizeLimit { get; set; }

Property Value

int

LogFileSizeLimitSource

Gets or sets the configuration source for the log file size limit setting.

public WindowsFirewallSettingSource LogFileSizeLimitSource { get; set; }

Property Value

WindowsFirewallSettingSource

LogFileSizeLimitString

Gets the size limit of the log file as a human readable string.

public string LogFileSizeLimitString { get; set; }

Property Value

string

LogSuccessfulConnections

Gets or sets whether the system should lock packets that are allowed by the firewall.

public BooleanOption LogSuccessfulConnections { get; set; }

Property Value

BooleanOption

LogSuccessfulConnectionsSource

Gets or sets the configuration source for the log successful connections setting.

public WindowsFirewallSettingSource LogSuccessfulConnectionsSource { get; set; }

Property Value

WindowsFirewallSettingSource

ProfileType

Gets or sets the profile name.

public WindowsFirewallProfileType ProfileType { get; set; }

Property Value

WindowsFirewallProfileType

ProfileTypeString

Gets the profile type as a human readable string.

public string ProfileTypeString { get; set; }

Property Value

string

StateString

Gets the firewall state as a human readable string.

public string StateString { get; set; }

Property Value

string

Methods

ToString()

Returns this profile as a human readable string.

public override string ToString()

Returns

string

This profile as a human readable string.