Show / Hide Table of Contents

    Class PromiscuousPasvDataConnectionValidator

    Validates that we don't have a promiscuous passive data connection.

    Inheritance
    Object
    PromiscuousPasvDataConnectionValidator
    Implements
    IFtpDataConnectionValidator
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.DataConnection
    Assembly: FubarDev.FtpServer.Commands.dll
    Syntax
    public class PromiscuousPasvDataConnectionValidator : IFtpDataConnectionValidator

    Constructors

    | Improve this Doc View Source

    PromiscuousPasvDataConnectionValidator(IOptions<PasvCommandOptions>, Nullable<ILogger<PromiscuousPasvDataConnectionValidator>>)

    Initializes a new instance of the PromiscuousPasvDataConnectionValidator class.

    Declaration
    public PromiscuousPasvDataConnectionValidator(IOptions<PasvCommandOptions> options, ILogger<PromiscuousPasvDataConnectionValidator>? logger = default(ILogger<PromiscuousPasvDataConnectionValidator>? ))
    Parameters
    Type Name Description
    IOptions<PasvCommandOptions> options

    The PASV command handler options.

    Nullable<ILogger<PromiscuousPasvDataConnectionValidator>> logger

    The logger.

    Methods

    | Improve this Doc View Source

    ValidateAsync(IFtpConnection, IFtpDataConnectionFeature, IFtpDataConnection, CancellationToken)

    Declaration
    public Task<ValidationResult? > ValidateAsync(IFtpConnection connection, IFtpDataConnectionFeature dataConnectionFeature, IFtpDataConnection dataConnection, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IFtpConnection connection
    IFtpDataConnectionFeature dataConnectionFeature
    IFtpDataConnection dataConnection
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Nullable<ValidationResult>>

    Implements

    IFtpDataConnectionValidator
    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.