SftpClient ReadAllText Method (String)SSH .NET Client Library Documentation
Opens a text file, reads all lines of the file, and then closes the file.

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

public string ReadAllText(
	string path
)

Return Value

A string containing all lines of the file.
Exceptions

See Also