Rebex FTP/SSL for .NET

Ftp.BeginSecure Method 

Secures the connection with TLS/SSL using the FtpSecureUpgradeType.TLS request type and security parameters.

public IAsyncResult BeginSecure(
   TlsParameters parameters,
   FtpSecureUpgradeType type,
   AsyncCallback callback,
   object state
);

Parameters

parameters
Security parameters.
type
Upgrade request type.
callback
An optional asynchronous callback to be called when the operation is complete.
state
A user-provided object that identifies this particular asynchronous operation.

Return Value

An IAsyncResult that references the asynchronous operation.

See Also

Ftp Class | Rebex.Net Namespace