Class IPBanningConfiguration
Represents a configuration object for IPBanningModule.
Implements
IDisposable
Namespace: EmbedIO.Security
Syntax
public class IPBanningConfiguration : ConfiguredObject, IDisposable
Properties
BlackList
Gets the black list.
Declaration
public List<BanInfo> BlackList { get; }
Property Value
Type | Description |
---|---|
List<BanInfo> | The black list. |
Methods
CheckClient(IPAddress)
Checks the client.
Declaration
public Task CheckClient(IPAddress clientAddress)
Parameters
Type | Name | Description |
---|---|---|
IPAddress | clientAddress | The client address. |
Returns
Type | Description |
---|---|
Task | A |
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing |
|
Finalize()
Finalizes an instance of the IPBanningConfiguration class.
Declaration
protected void Finalize()
Purge()
Purges this instance.
Declaration
public void Purge()
ShouldContinue(IPAddress)
Check if a Criterion should continue testing an IP Address.
Declaration
public bool ShouldContinue(IPAddress address)
Parameters
Type | Name | Description |
---|---|---|
IPAddress | address | The address. |
Returns
Type | Description |
---|---|
Boolean |
|
Implements
IDisposable