Show / Hide Table of Contents

    Class SecureDataConnectionWrapper

    Wrapper that wraps a data connection into a secure data connection if needed.

    Inheritance
    Object
    SecureDataConnectionWrapper
    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.Abstractions.dll
    Syntax
    public class SecureDataConnectionWrapper

    Constructors

    | Improve this Doc View Source

    SecureDataConnectionWrapper(IFtpConnectionAccessor, ISslStreamWrapperFactory)

    Initializes a new instance of the SecureDataConnectionWrapper class.

    Declaration
    public SecureDataConnectionWrapper(IFtpConnectionAccessor connectionAccessor, ISslStreamWrapperFactory sslStreamWrapperFactory)
    Parameters
    Type Name Description
    IFtpConnectionAccessor connectionAccessor

    Accessor for the FTP connection.

    ISslStreamWrapperFactory sslStreamWrapperFactory

    The SSL stream wrapper factory.

    Methods

    | Improve this Doc View Source

    WrapAsync(IFtpDataConnection)

    Wraps the data connection into a secure data connection if needed.

    Declaration
    public Task<IFtpDataConnection> WrapAsync(IFtpDataConnection dataConnection)
    Parameters
    Type Name Description
    IFtpDataConnection dataConnection

    The data connection that should - if needed - be wrapped into a secure data connection.

    Returns
    Type Description
    Task<IFtpDataConnection>

    The task returning the same or a secure data connection.

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