Xceed .NET Libraries Documentation
Xceed.Ftp Assembly / Xceed.Ftp Namespace / AsyncFtpClient Class / BeginChangeDataChannelProtection Method
The DataChannelProtection to use.
The SslProtocols to use.
Callback method to be called when the asynchronous operation is completed.
An object containing state information for this operation.


In This Topic
    BeginChangeDataChannelProtection Method
    In This Topic
    Begins the process of changing the data channel protection. Don't forget to call EndChangeDataChannelProtection!
    Syntax
    'Declaration
     
    Public Function BeginChangeDataChannelProtection( _
       ByVal dataChannelProtection As DataChannelProtection, _
       ByVal sslProtocol As SslProtocols, _
       ByVal callback As AsyncCallback, _
       ByVal state As Object _
    ) As IAsyncResult
    'Usage
     
    Dim instance As AsyncFtpClient
    Dim dataChannelProtection As DataChannelProtection
    Dim sslProtocol As SslProtocols
    Dim callback As AsyncCallback
    Dim state As Object
    Dim value As IAsyncResult
     
    value = instance.BeginChangeDataChannelProtection(dataChannelProtection, sslProtocol, callback, state)
    public IAsyncResult BeginChangeDataChannelProtection( 
       DataChannelProtection dataChannelProtection,
       SslProtocols sslProtocol,
       AsyncCallback callback,
       object state
    )

    Parameters

    dataChannelProtection
    The DataChannelProtection to use.
    sslProtocol
    The SslProtocols to use.
    callback
    Callback method to be called when the asynchronous operation is completed.
    state
    An object containing state information for this operation.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also