Shell.ReadLine Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9119)
ReadLine(String[])
Reads a single line of response from the server. Returns if either end of line was detected or the question prompt has been received (and no other data are pending) or the end of response has been reached. Returns null reference (Nothing in Visual Basic) if the end of response has been reached without any preceding data.
Declaration
public string ReadLine(params string[] questionPrompt)
Parameters
Type | Name | Description |
---|---|---|
String[] | questionPrompt |
Returns
Type | Description |
---|---|
String | Single line of response if available; or null reference (Nothing in Visual Basic). |
ReadLine()
Reads a single line of response from the server. Returns null reference (Nothing in Visual Basic) if the end of response has been reached without any preceding data.
Declaration
public string ReadLine()
Returns
Type | Description |
---|---|
String | Single line of response if available; or null reference (Nothing in Visual Basic). |