SocketTools .NET Edition

SshClient.UserName Property

Gets and sets the username used to authenticate the client session.

[Visual Basic]
Public Property UserName As String
[C#]
public string UserName {get; set;}

Property Value

A string which specifies the username.

Remarks

If a username is not specified when the Login method is called, the value of this property will be used as the default username when authenticating the client session.

See Also