Back to product page

ExitStatus property


Holds exit status from SSH connection.

Type

Integer. Exit status of executed SSH command.

Syntax

  • C#
  • VB.NET
Int32 ExitStatus {get; set; };

Property ExitStatus As Int32

Remarks

ExitStatus property is used by some SSH servers when they want to return exit status of the command that was executed (usually through Command property). By default, this property will hold 0 which also declares 'success'. Various executables may return various exit status numbers, which SSH server returns through this property to your applications.

NOTE: this property is used only in SSH protocol.

Platforms

Windows