Table of Contents

Method DisposeAsync

Namespace
SshSharp.FileProviders
Assembly
SshSharp.FileProviders.dll

DisposeAsync()

Disposes the SFTP sessions the provider opened from its session factory; later lookups throw ObjectDisposedException. A provider built from one SftpClient leaves that session alone: it stays the caller's, and this does nothing.

public ValueTask DisposeAsync()

Returns

ValueTask