Rebex SFTP for .NET

ProxySocket.Close Method 

Forces a ProxySocket connection to close.

public void Close();

Remarks

The application should call Shutdown before calling Close to ensure that all pending data is sent or received before the Socket is closed.

See Also

ProxySocket Class | Rebex.Net Namespace