ShellStream Expect Method (String)SSH .NET Client Library Documentation
Expects the expression specified by text.

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

public string Expect(
	string text
)

Return Value

Text available in the shell that ends with expected text.
See Also