Show / Hide Table of Contents

    Interface IFtpSecureConnectionAdapter

    Connection adapter for a secure connection.

    Inherited Members
    IFtpConnectionAdapter.Sender
    IFtpConnectionAdapter.Receiver
    IFtpService.StartAsync(CancellationToken)
    IFtpService.StopAsync(CancellationToken)
    Namespace: FubarDev.FtpServer.ConnectionHandlers
    Assembly: FubarDev.FtpServer.dll
    Syntax
    public interface IFtpSecureConnectionAdapter : IFtpConnectionAdapter, IFtpService

    Methods

    | Improve this Doc View Source

    EnableSslStreamAsync(X509Certificate2, CancellationToken)

    Enables encryption with an SslStream.

    Declaration
    Task EnableSslStreamAsync(X509Certificate2 certificate, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    X509Certificate2 certificate

    The server certificate (with private key).

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    The task.

    | Improve this Doc View Source

    ResetAsync(CancellationToken)

    Resets the connection to non-encrypted communication.

    Declaration
    Task ResetAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    The task.

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