Gets or sets the server port. Default value is 22.

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

Syntax

Visual Basic
Public Property ServerPort As Integer
	Get
	Set
C#
public int ServerPort { get; set; }

Field Value

Server port.

Version Information

.NET

Supported in: .NET 5.0; .NET Framework 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

See Also