Back to product page

Login property


Login (username) information that will be sent to the server.

Type

String. Represents your login on the server.

Syntax

  • C#
  • VB.NET
String Login {get; set; };

Property Login As String

Remarks

This property is required for SSH protocol(s), no matter which Authentication is used, so you should enter some value here before calling Connect method.

If wrong login/password or login/privatekey combination is used with remote server, an exception will be thrown soon after issuing Connect method.

Telnet protocol does not require Login or Password to be set prior to connect, property must be set always for SSH protocols!

Platforms

Windows