Table of Contents

Method DisposeAsync

Namespace
SshSharp.IO.Abstractions
Assembly
SshSharp.IO.Abstractions.dll

DisposeAsync()

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

public ValueTask DisposeAsync()

Returns

ValueTask