Rebex FTP for .NET

Ftp.BeginLogoff Method 

NOTE: This method is now obsolete.

The Logoff method is obsolete and does not do anything. There is no need to use it. Its original functionality was moved to Reinitialize method.


This method is now obsolete. It is just an empty stub. It is NOT necessary to call this before disconnecting or attempting another login!

public IAsyncResult BeginLogoff(
   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

The Logoff method used to represent FTP REIN command in previous versions. This has caused a lot of confusion not only due to its name, but due to the fact that it is rarely useful and most servers do not implement it.

If you really do need REIN functionality, use BeginReinitialize method.

See Also

Ftp Class | Rebex.Net Namespace