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
AllowUnicastResponseSource
Gets or sets where the "AllowUnicastResponse" setting is configured.
public WindowsFirewallSettingSource AllowUnicastResponseSource { get; set; }
Property Value
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
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
DefaultInboundAction
Gets or sets the default action for inbound traffic.
public WindowsFirewallDefaultInboundAction DefaultInboundAction { get; set; }
Property Value
DefaultInboundActionSource
Gets or sets the configuration source for the default inbound action.
public WindowsFirewallSettingSource DefaultInboundActionSource { get; set; }
Property Value
DefaultInboundActionString
Gets the default action for inbound traffic as a human readable string.
public string DefaultInboundActionString { get; set; }
Property Value
DefaultOutboundAction
Gets or sets the default action for outbound traffic.
public WindowsFirewallDefaultOutboundAction DefaultOutboundAction { get; set; }
Property Value
DefaultOutboundActionSource
Gets or sets the configuration source for the default outbound action.
public WindowsFirewallSettingSource DefaultOutboundActionSource { get; set; }
Property Value
DefaultOutboundActionString
Gets the default action for outbound traffic as a human readable string.
public string DefaultOutboundActionString { get; set; }
Property Value
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
DisplayNotificationSource
Gets or sets the configuration source for the display notification setting.
public WindowsFirewallSettingSource DisplayNotificationSource { get; set; }
Property Value
Enabled
Gets or sets whether this firewall profile is enabled.
public BooleanOption Enabled { get; set; }
Property Value
EnabledSource
Gets or sets where the "Enabled" setting is configured.
public WindowsFirewallSettingSource EnabledSource { get; set; }
Property Value
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
IsGroupPolicyConfigured
Gets whether any of the settings in this profile is configured using Group Policy.
public bool IsGroupPolicyConfigured { get; }
Property Value
LogDroppedPackets
Gets or sets whether the system should log packets that are dropped by the firewall.
public BooleanOption LogDroppedPackets { get; set; }
Property Value
LogDroppedPacketsSource
Gets or sets the configuration source for the log dropped packets setting.
public WindowsFirewallSettingSource LogDroppedPacketsSource { get; set; }
Property Value
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
LogFilePathSource
Gets or sets the configuration source for the log file path.
public WindowsFirewallSettingSource LogFilePathSource { get; set; }
Property Value
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
LogFileSizeLimit
Gets or sets the size limit of the log file in KB.
public int LogFileSizeLimit { get; set; }
Property Value
LogFileSizeLimitSource
Gets or sets the configuration source for the log file size limit setting.
public WindowsFirewallSettingSource LogFileSizeLimitSource { get; set; }
Property Value
LogFileSizeLimitString
Gets the size limit of the log file as a human readable string.
public string LogFileSizeLimitString { get; set; }
Property Value
LogSuccessfulConnections
Gets or sets whether the system should lock packets that are allowed by the firewall.
public BooleanOption LogSuccessfulConnections { get; set; }
Property Value
LogSuccessfulConnectionsSource
Gets or sets the configuration source for the log successful connections setting.
public WindowsFirewallSettingSource LogSuccessfulConnectionsSource { get; set; }
Property Value
ProfileType
Gets or sets the profile name.
public WindowsFirewallProfileType ProfileType { get; set; }
Property Value
ProfileTypeString
Gets the profile type as a human readable string.
public string ProfileTypeString { get; set; }
Property Value
StateString
Gets the firewall state as a human readable string.
public string StateString { get; set; }
Property Value
Methods
ToString()
Returns this profile as a human readable string.
public override string ToString()
Returns
- string
This profile as a human readable string.