SshClient CreateShell Method (Encoding, String, Stream, Stream, String, UInt32, UInt32, UInt32, UInt32, IDictionary TerminalModes, UInt32 , Int32)SSH .NET Client Library Documentation
Creates the shell.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public Shell CreateShell(
	Encoding encoding,
	string input,
	Stream output,
	Stream extendedOutput,
	string terminalName,
	uint columns,
	uint rows,
	uint width,
	uint height,
	IDictionary<TerminalModes, uint> terminalModes,
	int bufferSize
)

Parameters

encoding
Type: OnlineSystem.Text Encoding
The encoding to use to send the input.
input
Type: OnlineSystem String
The input.
output
Type: OnlineSystem.IO Stream
The output.
extendedOutput
Type: OnlineSystem.IO Stream
The extended output.
terminalName
Type: OnlineSystem String
Name of the terminal.
columns
Type: OnlineSystem UInt32
The columns.
rows
Type: OnlineSystem UInt32
The rows.
width
Type: OnlineSystem UInt32
The width.
height
Type: OnlineSystem UInt32
The height.
terminalModes
Type: OnlineSystem.Collections.Generic IDictionary TerminalModes, OnlineUInt32 
The terminal mode.
bufferSize
Type: OnlineSystem Int32
Size of the internal read buffer.

Return Value

Returns a representation of a Shell object.
See Also