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

ITerminal Interface

Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9147)

Defines the shared interface for

TerminalControl
and VirtualTerminal.

Syntax
public interface ITerminal : IDisposable
Inherited Members
IDisposable.Dispose()

Properties

Name Description
HistoryLength

Gets the current history buffer length.

IsDisposed

Gets a value indicating whether the terminal is disposed.

Options

Gets or sets terminal options.

Palette

Gets or sets the terminal palette.

Recorder

Gets or sets incoming data recorder.

Screen

Gets the terminal screen object.

Scripting

Gets the object which allows enhanced scripting.

Transfers

Gets the object which allows file transferring.

Methods

Name Description
Bind(IShellChannelFactory)

Binds the terminal to the specified shell channel factory - usually an instance of Rebex.Net.Ssh class.

Save(Stream, TerminalCaptureFormat)

Saves the content of the terminal screen to the specified stream in the specified format.

Save(Stream, TerminalCaptureFormat, TerminalCaptureOptions)

Saves the content of the terminal screen to the specified stream in the specified format with the specified options.

Save(String, TerminalCaptureFormat)

Saves the content of the terminal screen to the specified file in the specified format.

Save(String, TerminalCaptureFormat, TerminalCaptureOptions)

Saves the content of the terminal screen to the specified file in the specified format with the specified options.

SetScreenSize(Int32, Int32)

Sets a new screen size.

Unbind()

Unbinds the terminal from the current channel and closes the channel.

Events

Name Description
ActionRequested

Occurs when a specific client action is requested by the server.

DataReceived

Occurs when the data are received from the server.

Disconnected

Occurs when disconnected from the server.

RemoteResize

Occurs when the screen resize is requested by the server.

Extension Methods

TerminalExtensions.SetCustomScreen(ITerminal, IScreen)
In This Article
  • Properties
  • Methods
  • Events
  • Extension Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies