Click or drag to resize

SshClientCreateCommand(String, Encoding) Method

Creates the command to be executed with specified encoding.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public SshCommand CreateCommand(
	string commandText,
	Encoding encoding
)

Parameters

commandText  String
The command text.
encoding  Encoding
The encoding to use for results.

Return Value

SshCommand
SshCommand object which uses specified encoding.
Exceptions
ExceptionCondition
SshConnectionExceptionClient is not connected.
ArgumentNullExceptioncommandText or encoding is null.
Remarks
This method will change current default encoding.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also