Rebex FTP for .NET

Ftp.BeginDisconnect Method 

Informs the server that the connection is about to close and terminates the connection.

public IAsyncResult BeginDisconnect(
   AsyncCallback callback,
   object state
);

Parameters

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.

Remarks

Represents FTP QUIT command.

See Also

Ftp Class | Rebex.Net Namespace