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

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

public string Expect(
	Regex regex
)

Return Value

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