Initiates an asynchronous connect using the default command port 21 and that has a specified state object.
The IAsyncResult that identifies the posted asynchronous request.
In asynchronous processing, you use BeginConnect to raise the ConnectCompleted event when the connect has completed. You complete the operation by calling EndConnect.
Use this overload to associate information with the operation that will be preserved throughout the operation's lifetime. The event handler can detect this information by looking at the AsyncState of the IAsyncResult that is associated with the operation.
FtpClient Class | ComponentSpace.Ftp Namespace | FtpClient.BeginConnect Overload List