<PackageReference Include="SSH.NET" Version="2020.0.1" />

Renci.SshNet.Messages.Connection.ExecRequestInfo

Represents "exec" type channel request information
public const string Name = "exec"

Channel request name

public string Command { get; }

Gets command to execute.

public Encoding Encoding { get; }

Gets the encoding.

public ExecRequestInfo()

Initializes a new instance of the ExecRequestInfo class.

public ExecRequestInfo(string command, Encoding encoding)

Initializes a new instance of the ExecRequestInfo class.