Occurs when the connect has completed.
The event handler receives an argument of type FtpOperationCompletedEventArgs containing data related to this event. The following FtpOperationCompletedEventArgs property provides information specific to this event.
| Property | Description |
|---|---|
| AsyncResult | Gets the result of the asynchronous send operation. |
BeginConnect is used in asynchronous processing to raise the ConnectCompleted event when the connect has completed.
EndConnect is used to complete the operation initiated by a call to BeginConnect and get the connect status when the ConnectCompleted event is raised.