You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Renci.SshNet/ISftpClient.cs
+5-5
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ namespace Renci.SshNet
10
10
/// <summary>
11
11
/// Implementation of the SSH File Transfer Protocol (SFTP) over SSH.
12
12
/// </summary>
13
-
publicinterfaceISftpClient
13
+
publicinterfaceISftpClient:IDisposable
14
14
{
15
15
/// <summary>
16
16
/// Gets or sets the maximum size of the buffer in bytes.
@@ -525,7 +525,7 @@ public interface ISftpClient
525
525
/// A list of files.
526
526
/// </returns>
527
527
/// <exception cref="ArgumentException">The <see cref="IAsyncResult"/> object did not come from the corresponding async method on this type.<para>-or-</para><see cref="EndListDirectory(IAsyncResult)"/> was called multiple times with the same <see cref="IAsyncResult"/>.</exception>
@@ -568,13 +568,13 @@ public interface ISftpClient
568
568
/// </summary>
569
569
/// <param name="path">The path.</param>
570
570
/// <returns>
571
-
/// A reference to <see cref="SftpFile"/> file object.
571
+
/// A reference to <see cref="ISftpFile"/> file object.
572
572
/// </returns>
573
573
/// <exception cref="SshConnectionException">Client is not connected.</exception>
574
574
/// <exception cref="SftpPathNotFoundException"><paramref name="path"/> was not found on the remote host.</exception>
575
575
/// <exception cref="ArgumentNullException"><paramref name="path" /> is <b>null</b>.</exception>
576
576
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
577
-
SftpFileGet(stringpath);
577
+
ISftpFileGet(stringpath);
578
578
579
579
/// <summary>
580
580
/// Gets the <see cref="SftpFileAttributes"/> of the file on the path.
@@ -666,7 +666,7 @@ public interface ISftpClient
666
666
/// <exception cref="SftpPermissionDeniedException">Permission to list the contents of the directory was denied by the remote host. <para>-or-</para> A SSH command was denied by the server.</exception>
667
667
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
668
668
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
0 commit comments