Class IisIPRestrictions
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the IP and domain restrictions.
public class IisIPRestrictions : BypassSection
- Inheritance
-
IisIPRestrictions
- Inherited Members
Constructors
IisIPRestrictions()
Intializes a new instance of the CENTREL.XIA.Configuration.Types.IisIPRestrictions class.
public IisIPRestrictions()
Properties
AllowUnspecifiedClients
Gets or sets whether to allow unspecified clients.
public BooleanOption AllowUnspecifiedClients { get; set; }
Property Value
DenyAction
Gets or sets the deny action.
public IisIPRestrictionsDenyAction DenyAction { get; set; }
Property Value
DenyByConcurrentRequests
Gets or sets whether to deny an IP address based on the number of concurrent requests.
public BooleanOption DenyByConcurrentRequests { get; set; }
Property Value
DenyByConcurrentRequestsString
Gets whether to deny an IP address based on the number of concurrent requests.
public string DenyByConcurrentRequestsString { get; set; }
Property Value
DenyByRequestRate
Gets or sets whether to deny an IP address based on the request rate.
public BooleanOption DenyByRequestRate { get; set; }
Property Value
DenyByRequestRateString
Gets whether to deny an IP address based on the request rate.
public string DenyByRequestRateString { get; set; }
Property Value
EnableDomainNameRestrictions
Gets or sets whether domain name restrictions are enabled.
public BooleanOption EnableDomainNameRestrictions { get; set; }
Property Value
EnableLoggingOnlyMode
Gets or sets whether to enable logging only mode for dynamic IP restriction.
public BooleanOption EnableLoggingOnlyMode { get; set; }
Property Value
EnableProxyMode
Gets or sets whether proxy mode is enabled.
public BooleanOption EnableProxyMode { get; set; }
Property Value
Items
Gets or sets the items in the collection.
public IisIPRestrictionCollection Items { get; set; }
Property Value
MaximumConcurrentRequests
Gets or sets the maximum number of concurrent requests.
public uint MaximumConcurrentRequests { get; set; }
Property Value
MaximumRequests
Gets or sets the maximum number of requests.
public uint MaximumRequests { get; set; }
Property Value
MaximumRequestsInterval
Gets or sets the maximum number of requests interval in milliseconds.
public uint MaximumRequestsInterval { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.IisIPRestrictions class from the specified Xml.
public static IisIPRestrictions FromXml(string xml)
Parameters
xml
stringThe XML representation of the CENTREL.XIA.Configuration.Types.IisIPRestrictions object
Returns
- IisIPRestrictions
A CENTREL.XIA.Configuration.Types.IisIPRestrictions class from the specified Xml.
ToString()
Returns the IP and domain restrictions as human readable string.
public override string ToString()
Returns
- string
The IP and domain restrictions as a human readable string.