Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SshConsole Class

Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9147)

Represents an SSH console which provides methods for reading and writing.

Syntax
public class SshConsole
Inheritance
Object
SshConsole
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Properties

Name Description
CurrentPath

Gets the current path.

HasPseudoTerminal

Gets a value indicating whether the console has a pseudo-terminal.

User

Gets the authenticated user.

Methods

Name Description
Clear()

Clears the console.

GetErrorStream()

Returns standard error stream for this console, if available.

GetInputStream()

Returns standard input stream for this console.

GetOutputStream()

Returns standard output stream for this console.

ReadChar()

Reads the next character from the SshConsole.

ReadLine()

Reads the next line of characters from the SshConsole.

ReadLine(Boolean)

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

Write(Object)

Writes the text representation of the specified object to the SshConsole.

Write(String, Object[])

Writes the text respresentation of the specified array of objects to the SshConsole using the specified format information.

WriteLine()

Writes a newline to the SshConsole.

WriteLine(Object)

Writes the text representation of the specified object, followed by the newline, to the SshConsole.

WriteLine(String, Object[])

Writes the text representation of the specified array of objects, followed by the newline, to the SshConsole using the specified format.

In This Article
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies