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
/// <exception cref="InvalidOperationException">The client is already connected.</exception>
64
+
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
65
+
/// <exception cref="SocketException">Socket connection to the SSH server or proxy server could not be established, or an error occurred while resolving the hostname.</exception>
66
+
/// <exception cref="SshConnectionException">SSH session could not be established.</exception>
67
+
/// <exception cref="SshAuthenticationException">Authentication of SSH session failed.</exception>
68
+
/// <exception cref="ProxyException">Failed to establish proxy connection.</exception>
69
+
voidConnect();
70
+
71
+
#if FEATURE_TAP
72
+
/// <summary>
73
+
/// Asynchronously connects client to the server.
74
+
/// </summary>
75
+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to observe.</param>
76
+
/// <returns>A <see cref="Task"/> that represents the asynchronous connect operation.
77
+
/// </returns>
78
+
/// <exception cref="InvalidOperationException">The client is already connected.</exception>
79
+
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
80
+
/// <exception cref="SocketException">Socket connection to the SSH server or proxy server could not be established, or an error occurred while resolving the hostname.</exception>
81
+
/// <exception cref="SshConnectionException">SSH session could not be established.</exception>
82
+
/// <exception cref="SshAuthenticationException">Authentication of SSH session failed.</exception>
83
+
/// <exception cref="ProxyException">Failed to establish proxy connection.</exception>
/// Gets or sets the maximum size of the buffer in bytes.
@@ -720,7 +720,7 @@ public interface ISftpClient : IDisposable
720
720
/// <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>
721
721
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
722
722
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
Copy file name to clipboardExpand all lines: src/Renci.SshNet/SftpClient.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -552,7 +552,7 @@ public IEnumerable<ISftpFile> ListDirectory(string path, Action<int> listCallbac
552
552
/// <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>
553
553
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
554
554
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
0 commit comments