SocketTools .NET Edition

FtpClient.Logout Method 

Log the current user off the server.

[Visual Basic]
Public Function Logout() As Boolean
[C#]
public bool Logout();

Return Value

This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.

Remarks

The Logout method logs the current user off the server. The Login method may then be used to login as another user during the same session. Note that this method will not terminate the connection with the server.

See Also

FtpClient Class | SocketTools Namespace