Expects the expression specified by regular expression.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
Parameters
- regex
- Type:
System.Text.RegularExpressions Regex
The regular expression to expect.
- timeout
- Type:
System TimeSpan
Time to wait for input.
Return Value
Text available in the shell that contains all the text that ends with expected expression, if the specified time elapsed returns null.See Also