Table of Contents

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

BooleanOption

DenyAction

Gets or sets the deny action.

public IisIPRestrictionsDenyAction DenyAction { get; set; }

Property Value

IisIPRestrictionsDenyAction

DenyByConcurrentRequests

Gets or sets whether to deny an IP address based on the number of concurrent requests.

public BooleanOption DenyByConcurrentRequests { get; set; }

Property Value

BooleanOption

DenyByConcurrentRequestsString

Gets whether to deny an IP address based on the number of concurrent requests.

public string DenyByConcurrentRequestsString { get; set; }

Property Value

string

DenyByRequestRate

Gets or sets whether to deny an IP address based on the request rate.

public BooleanOption DenyByRequestRate { get; set; }

Property Value

BooleanOption

DenyByRequestRateString

Gets whether to deny an IP address based on the request rate.

public string DenyByRequestRateString { get; set; }

Property Value

string

EnableDomainNameRestrictions

Gets or sets whether domain name restrictions are enabled.

public BooleanOption EnableDomainNameRestrictions { get; set; }

Property Value

BooleanOption

EnableLoggingOnlyMode

Gets or sets whether to enable logging only mode for dynamic IP restriction.

public BooleanOption EnableLoggingOnlyMode { get; set; }

Property Value

BooleanOption

EnableProxyMode

Gets or sets whether proxy mode is enabled.

public BooleanOption EnableProxyMode { get; set; }

Property Value

BooleanOption

Items

Gets or sets the items in the collection.

public IisIPRestrictionCollection Items { get; set; }

Property Value

IisIPRestrictionCollection

MaximumConcurrentRequests

Gets or sets the maximum number of concurrent requests.

public uint MaximumConcurrentRequests { get; set; }

Property Value

uint

MaximumRequests

Gets or sets the maximum number of requests.

public uint MaximumRequests { get; set; }

Property Value

uint

MaximumRequestsInterval

Gets or sets the maximum number of requests interval in milliseconds.

public uint MaximumRequestsInterval { get; set; }

Property Value

uint

Methods

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.IisIPRestrictions class from the specified Xml.

public static IisIPRestrictions FromXml(string xml)

Parameters

xml string

The 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.