ShellStreamExpect(String, TimeSpan) Method |
Expects the expression specified by text.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic string Expect(
string text,
TimeSpan timeout
)
Parameters
- text String
- The text to expect.
- timeout TimeSpan
- Time to wait for input.
Return Value
String
Text available in the shell that ends with expected text, if the specified time elapsed returns null.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also