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
textstringThe input. Line endings are sent as they are: use
\nfor a Unix server.encodingEncodingThe encoding; UTF-8 when null.