Unosquare
    Show / Hide Table of Contents

    Class IPBanningConfiguration

    Represents a configuration object for IPBanningModule.

    Inheritance
    Object
    IPBanningConfiguration
    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 representing the asynchronous operation.

    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

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    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

    true if the Criterion should continue, otherwise false.

    Implements

    IDisposable

    Comments

    Back to top Copyright © 2017-2019 Unosquare