Receives response from the server until the specified condition is met.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Function ReadUntil ( _
	scriptEvent As ScriptEvent _
) As String
C#
public string ReadUntil(
	ScriptEvent scriptEvent
)

Parameters

scriptEvent
Type: Rebex.TerminalEmulation..::..ScriptEvent
Condition to be met.

Return Value

The response received from the server.

Remarks

If TrimReadUntilResponse property is set to true, the prompt sequence is removed from the returned value if it was one of the specified conditions.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also