Table of Contents

Method FromText

Namespace
SshSharp
Assembly
SshSharp.dll

FromText(string, Encoding?)

Input from text, encoded with encoding (UTF-8 when null), without a byte order mark.

public static SshCommandInput FromText(string text, Encoding? encoding = null)

Parameters

text string

The input. Line endings are sent as they are: use \n for a Unix server.

encoding Encoding

The encoding; UTF-8 when null.

Returns

SshCommandInput