Authenticates the user to the server interactively and initializes the SCP session. Uses AuthenticationRequest event to request credentials.

Namespace:  Rebex.Net
Assembly:  Rebex.Sftp (in Rebex.Sftp.dll)

Syntax

Visual Basic
Public Sub Login ( _
	userName As String _
)
C#
public void Login(
	string userName
)

Parameters

userName
Type: System..::..String
The username (optional).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also