Click or drag to resize

ShellStreamExpect(String, TimeSpan) Method

Expects the expression specified by text.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public 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