The authentication method used to connect to the FTP server.
verificationFlags
The verification flags used to verify the FTP server's certificate.
clientCertificate
The FTP client's certificate.
callback
Callback method to be called when the asynchronous operation is completed.
state
An object containing state information for this operation.
Return Value
An System.IAsyncResult representing the status of the asynchronous operation.
Remarks
The BeginConnect method that requires an authentication method, verification flags and a client certificate can be used in the case where the FTP server does not allow authentication after the connection has been established.
When using a callback, the System.IAsyncResult is provided as a parameter. You should call EndAuthenticate in that callback. When NOT providing a callback, you should keep the returned IAsyncResult and call EndAuthenticate with it when ready to complete. In this later case, the call to EndAuthenticate may block until the operation completes.
When using this overload of the BeginAuthenticate method, the data channel is not secured (DataChannelProtection.Clear).
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