SshConsole.ReadLine Method
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9083)
ReadLine()
Reads the next line of characters from the SshConsole.
Declaration
public string ReadLine()
Returns
Type | Description |
---|---|
String | The next line of characters from the SshConsole, or null if no more lines are available. |
Remarks
The read line is displayed using the SshConsole
ReadLine(Boolean)
Reads the next line of characters from the SshConsole with the specified password mode.
Declaration
public string ReadLine(bool passwordMode)
Parameters
Type | Name | Description |
---|---|---|
Boolean | passwordMode | If set to true, the read line is masked with asterisks in the console output; otherwise it is displayed as is. |
Returns
Type | Description |
---|---|
String | The next line of characters from the SshConsole, or null if no more lines are available. |
Remarks
The read line is displayed using the SshConsole