Gets the exit code of the last command, if available. Only supported in Rebex SSH Shell with WellKnownShellMode and for Ssh.StartCommand method. Not supported in Rebex Telnet.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Function GetExitCode As Integer
C#
public int GetExitCode()

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also