Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Sftp.BindAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)

BindAsync(SshSession, Object)

Begins asynchronous Bind operation. 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.

Declaration
public Task BindAsync(SshSession session, object state = null)
Parameters
Type Name Description
SshSession session

SSH session (already connected and authenticated).

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
In This Article
  • BindAsync(SshSession, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies