Authenticates the user to the server and initializes the SCP session.

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

Syntax

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

Parameters

userName
Type: System..::..String
The username.
password
Type: System..::..String
Password for the specified username.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also