ScpClient Download Method (String, Stream)SSH .NET Client Library Documentation
Downloads the specified file from the remote host to the stream.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public void Download(
	string filename,
	Stream destination
)
Exceptions

Remarks

Method calls made by this method to destination, may under certain conditions result in exceptions thrown by the stream.
See Also