Reads the next line of characters from the SshConsole with the specified password mode.

Namespace:  Rebex.Net.Servers
Assembly:  Rebex.FileServer (in Rebex.FileServer.dll)

Syntax

Visual Basic
Public Function ReadLine ( _
	passwordMode As Boolean _
) As String
C#
public string ReadLine(
	bool passwordMode
)

Parameters

passwordMode
Type: System..::..Boolean
If set to true, the read line is masked with asterisks in the console output; otherwise it is displayed as is.

Return Value

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

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also