Binds the Sftp object to an underlying SSH session. This makes it possible to run multiple SFTP sessions over a single SSH session. This can be used instead of Connect(String)/Login(String, String) methods.

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

Syntax

Visual Basic
Public Sub Bind ( _
	session As SshSession _
)
C#
public void Bind(
	SshSession session
)

Parameters

session
Type: Rebex.Net..::..SshSession
SSH session (already connected and authenticated).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also