[SerializableAttribute]
[XmlRootAttribute("FirewallRule")]
public sealed class FirewallRule
<SerializableAttribute>
<XmlRootAttribute("FirewallRule")>
Public NotInheritable Class FirewallRule
Dim instance As FirewallRule
[SerializableAttribute]
[XmlRootAttribute(L"FirewallRule")]
public ref class FirewallRule sealed
[<SealedAttribute>]
[<SerializableAttribute>]
[<XmlRootAttribute("FirewallRule")>]
type FirewallRule = class end
No code example is currently available or this language may not be supported.
FirewallRule | Initializes a new instance of the FirewallRule class. |
Action | Gets or sets the action for the firewall rule. |
ApplicationName | Gets or sets the friendly name of the application to which the rule applies. |
Description | Gets or sets the description of the rule. |
Direction | Gets or sets the direction of traffic to which the rule applies. |
EdgeTraversal | Gets or sets a value indicating whether edge traversal is enabled or disabled for the rule. |
Enabled | Gets or sets a value indicating whether the rule is enabled. |
Grouping | Gets or sets the group to which the rule belongs. |
IcmpTypesAndCodes | Gets or sets the list of ICMP types and codes for the rule. |
Interfaces | Gets or sets the list of interfaces for which the rule applies. The interfaces in the list are represented by their friendly name. |
InterfaceTypes | Gets or sets the list of interface types for which the rule applies. If more than one interface type is specified, the strings must be separated by a comma. |
LocalAddresses | Gets or sets the list of local addresses for which the rule applies. If more than one interface type is specified, the strings must be separated by a comma. |
LocalPorts | Gets or sets the list of local ports for which the rule applies. If more than one interface type is specified, the strings must be separated by a comma. |
Name | Gets or sets the friendly name of the rule. |
Profiles | Gets or sets the profiles to which the rule belongs. |
Protocol | Gets or sets IP protocol of the rule. |
RemoteAddresses | Gets or sets the list of remote addresses for which the rule applies. If more than one interface type is specified, the strings must be separated by a comma. |
RemotePorts | Gets or sets the list of remote ports for which the rule applies. If more than one interface type is specified, the strings must be separated by a comma. |
ServiceName | Gets or sets the service name property of the application. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |