The VirtualTerminal type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| VirtualTerminal(Int32, Int32) |
Creates a new instance of the virtual terminal.
| |
| VirtualTerminal(Int32, Int32, Int32) |
Creates a new instance of the virtual terminal.
|
Methods
| Name | Description | |
|---|---|---|
| BeginBind |
Begins asynchronous Bind operation.
Binds the terminal to the specified shell channel factory - usually an instance of Rebex.Net.Ssh or Rebex.Net.Telnet class.
| |
| Bind |
Binds the terminal to the specified shell channel factory - usually an instance of Rebex.Net.Ssh or Rebex.Net.Telnet class.
| |
| Dispose |
Disposes the VirtualTerminal object and closes the channel associated with it.
| |
| EndBind |
Ends an asynchronous BeginBind operation.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Expect(String, Int32) | Obsolete. | |
| Expect(Regex, Int32) | Obsolete. | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Process()()()() | Obsolete. | |
| Process(Int32) | Obsolete. | |
| Process(TimeSpan) | Obsolete. | |
| Save(Stream, TerminalCaptureFormat) |
Saves the content of the terminal screen to the specified stream in the specified format.
| |
| Save(String, TerminalCaptureFormat) |
Saves the content of the terminal screen to the specified file 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, TerminalCaptureOptions) |
Saves the content of the terminal screen to the specified file in the specified format with the specified options.
| |
| SendBreak | Obsolete. | |
| SendToServer(String) | Obsolete. | |
| SendToServer(ConsoleKeyInfo) | Obsolete. | |
| SendToServer(FunctionKey) | Obsolete. | |
| SendToServer(FunctionKey, ConsoleModifiers) | Obsolete. | |
| SendToServer(array<Byte>[]()[][], Int32, Int32) | Obsolete. | |
| SetScreenSize |
Sets a new screen size.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
| Unbind |
Unbinds the terminal from the current channel and closes the channel.
|
Extension Methods
| Name | Description | |
|---|---|---|
| SetCustomScreen |
Sets the terminal's custom screen.
(Defined by TerminalExtensions.) |
Properties
| Name | Description | |
|---|---|---|
| CellSize |
Gets the size of a character cell.
| |
| 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.
| |
| ReceivedData | Obsolete. | |
| Recorder |
Gets or sets incoming data recorder.
| |
| Screen |
Gets the terminal screen object.
| |
| Scripting |
Gets the object which allows enhanced scripting.
| |
| TerminalFont |
Gets or sets the terminal font. Setting the font may also cause the screen size to be adjusted to fit into the control area.
| |
| Transfers |
Gets the object which allows file transferring.
|
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.
|