diff --git a/src/Renci.SshNet/BaseClient.cs b/src/Renci.SshNet/BaseClient.cs index bdfd5cb5f..56d2145cc 100644 --- a/src/Renci.SshNet/BaseClient.cs +++ b/src/Renci.SshNet/BaseClient.cs @@ -140,17 +140,11 @@ public TimeSpan KeepAliveInterval /// /// Occurs when an error occurred. /// - /// - /// - /// public event EventHandler ErrorOccurred; /// /// Occurs when host key received. /// - /// - /// - /// public event EventHandler HostKeyReceived; /// diff --git a/src/Renci.SshNet/ConnectionInfo.cs b/src/Renci.SshNet/ConnectionInfo.cs index 7eccb8dff..721a45762 100644 --- a/src/Renci.SshNet/ConnectionInfo.cs +++ b/src/Renci.SshNet/ConnectionInfo.cs @@ -144,9 +144,6 @@ public class ConnectionInfo : IConnectionInfoInternal /// /// The connection timeout. The default value is 30 seconds. /// - /// - /// - /// public TimeSpan Timeout { get; set; } /// @@ -190,9 +187,6 @@ public class ConnectionInfo : IConnectionInfoInternal /// /// Occurs when authentication banner is sent by the server. /// - /// - /// - /// public event EventHandler AuthenticationBanner; /// diff --git a/src/Renci.SshNet/ForwardedPortLocal.cs b/src/Renci.SshNet/ForwardedPortLocal.cs index 3d5b58768..72bf08dc7 100644 --- a/src/Renci.SshNet/ForwardedPortLocal.cs +++ b/src/Renci.SshNet/ForwardedPortLocal.cs @@ -58,9 +58,6 @@ public override bool IsStarted /// is greater than . /// is . /// is greater than . - /// - /// - /// public ForwardedPortLocal(uint boundPort, string host, uint port) : this(string.Empty, boundPort, host, port) { diff --git a/src/Renci.SshNet/ForwardedPortRemote.cs b/src/Renci.SshNet/ForwardedPortRemote.cs index af7fd48a2..1b4a74eb4 100644 --- a/src/Renci.SshNet/ForwardedPortRemote.cs +++ b/src/Renci.SshNet/ForwardedPortRemote.cs @@ -112,9 +112,6 @@ public ForwardedPortRemote(IPAddress boundHostAddress, uint boundPort, IPAddress /// The bound port. /// The host. /// The port. - /// - /// - /// public ForwardedPortRemote(uint boundPort, string host, uint port) : this(string.Empty, boundPort, host, port) { diff --git a/src/Renci.SshNet/IBaseClient.cs b/src/Renci.SshNet/IBaseClient.cs index add066f73..c42df3426 100644 --- a/src/Renci.SshNet/IBaseClient.cs +++ b/src/Renci.SshNet/IBaseClient.cs @@ -43,17 +43,11 @@ public interface IBaseClient : IDisposable /// /// Occurs when an error occurred. /// - /// - /// - /// event EventHandler ErrorOccurred; /// /// Occurs when host key received. /// - /// - /// - /// event EventHandler HostKeyReceived; /// diff --git a/src/Renci.SshNet/IConnectionInfo.cs b/src/Renci.SshNet/IConnectionInfo.cs index a0f2898ef..35dabcc2f 100644 --- a/src/Renci.SshNet/IConnectionInfo.cs +++ b/src/Renci.SshNet/IConnectionInfo.cs @@ -98,9 +98,6 @@ internal interface IConnectionInfo /// /// The connection timeout. The default value is 30 seconds. /// - /// - /// - /// TimeSpan Timeout { get; } /// diff --git a/src/Renci.SshNet/KeyboardInteractiveConnectionInfo.cs b/src/Renci.SshNet/KeyboardInteractiveConnectionInfo.cs index 2d3825b3f..a2738796a 100644 --- a/src/Renci.SshNet/KeyboardInteractiveConnectionInfo.cs +++ b/src/Renci.SshNet/KeyboardInteractiveConnectionInfo.cs @@ -6,9 +6,6 @@ namespace Renci.SshNet /// /// Provides connection information when keyboard interactive authentication method is used. /// - /// - /// - /// public class KeyboardInteractiveConnectionInfo : ConnectionInfo, IDisposable { private bool _isDisposed; @@ -16,9 +13,6 @@ public class KeyboardInteractiveConnectionInfo : ConnectionInfo, IDisposable /// /// Occurs when server prompts for more authentication information. /// - /// - /// - /// public event EventHandler AuthenticationPrompt; /// diff --git a/src/Renci.SshNet/PasswordConnectionInfo.cs b/src/Renci.SshNet/PasswordConnectionInfo.cs index 08ef59dea..072b32147 100644 --- a/src/Renci.SshNet/PasswordConnectionInfo.cs +++ b/src/Renci.SshNet/PasswordConnectionInfo.cs @@ -8,11 +8,6 @@ namespace Renci.SshNet /// /// Provides connection information when password authentication method is used. /// - /// - /// - /// - /// - /// public class PasswordConnectionInfo : ConnectionInfo, IDisposable { private bool _isDisposed; @@ -20,9 +15,6 @@ public class PasswordConnectionInfo : ConnectionInfo, IDisposable /// /// Occurs when user's password has expired and needs to be changed. /// - /// - /// - /// public event EventHandler PasswordExpired; /// @@ -31,9 +23,6 @@ public class PasswordConnectionInfo : ConnectionInfo, IDisposable /// Connection host. /// Connection username. /// Connection password. - /// - /// - /// /// is . /// is invalid, or is or contains only whitespace characters. public PasswordConnectionInfo(string host, string username, string password) diff --git a/src/Renci.SshNet/PrivateKeyConnectionInfo.cs b/src/Renci.SshNet/PrivateKeyConnectionInfo.cs index ecd0bbb8a..dacfc36b1 100644 --- a/src/Renci.SshNet/PrivateKeyConnectionInfo.cs +++ b/src/Renci.SshNet/PrivateKeyConnectionInfo.cs @@ -7,9 +7,6 @@ namespace Renci.SshNet /// /// Provides connection information when private key authentication method is used. /// - /// - /// - /// public class PrivateKeyConnectionInfo : ConnectionInfo, IDisposable { private bool _isDisposed; @@ -25,10 +22,6 @@ public class PrivateKeyConnectionInfo : ConnectionInfo, IDisposable /// Connection host. /// Connection username. /// Connection key files. - /// - /// - /// - /// public PrivateKeyConnectionInfo(string host, string username, params PrivateKeyFile[] keyFiles) : this(host, DefaultPort, username, ProxyTypes.None, string.Empty, 0, string.Empty, string.Empty, keyFiles) { diff --git a/src/Renci.SshNet/PrivateKeyFile.cs b/src/Renci.SshNet/PrivateKeyFile.cs index 9f6d728bc..d42594583 100644 --- a/src/Renci.SshNet/PrivateKeyFile.cs +++ b/src/Renci.SshNet/PrivateKeyFile.cs @@ -20,9 +20,6 @@ namespace Renci.SshNet /// /// Represents private key information. /// - /// - /// - /// /// /// /// The following private keys are supported: diff --git a/src/Renci.SshNet/SshClient.cs b/src/Renci.SshNet/SshClient.cs index 753ab8f9f..2e1103553 100644 --- a/src/Renci.SshNet/SshClient.cs +++ b/src/Renci.SshNet/SshClient.cs @@ -44,12 +44,6 @@ public IEnumerable ForwardedPorts /// Initializes a new instance of the class. /// /// The connection info. - /// - /// - /// - /// - /// - /// /// is . public SshClient(ConnectionInfo connectionInfo) : this(connectionInfo, ownsConnectionInfo: false) @@ -80,9 +74,6 @@ public SshClient(string host, int port, string username, string password) /// Connection host. /// Authentication username. /// Authentication password. - /// - /// - /// /// is . /// is invalid, or is or contains only whitespace characters. public SshClient(string host, string username, string password) @@ -97,10 +88,6 @@ public SshClient(string host, string username, string password) /// Connection port. /// Authentication username. /// Authentication private key file(s) . - /// - /// - /// - /// /// is . /// is invalid, -or- is or contains only whitespace characters. /// is not within and . @@ -116,10 +103,6 @@ public SshClient(string host, int port, string username, params IPrivateKeySourc /// Connection host. /// Authentication username. /// Authentication private key file(s) . - /// - /// - /// - /// /// is . /// is invalid, -or- is or contains only whitespace characters. public SshClient(string host, string username, params IPrivateKeySource[] keyFiles) @@ -177,10 +160,6 @@ protected override void OnDisconnecting() /// Adds the forwarded port. /// /// The port. - /// - /// - /// - /// /// Forwarded port is already added to a different client. /// is . /// Client is not connected. @@ -265,10 +244,6 @@ public SshCommand CreateCommand(string commandText, Encoding encoding) /// The command text. /// Returns an instance of with execution results. /// This method internally uses asynchronous calls. - /// - /// - /// - /// /// CommandText property is empty. /// Invalid Operation - An existing channel was used to execute this command. /// Asynchronous operation is already in progress. diff --git a/src/Renci.SshNet/SshCommand.cs b/src/Renci.SshNet/SshCommand.cs index 5b93354f7..a7769ab2c 100644 --- a/src/Renci.SshNet/SshCommand.cs +++ b/src/Renci.SshNet/SshCommand.cs @@ -43,25 +43,16 @@ public class SshCommand : IDisposable /// /// The command timeout. /// - /// - /// - /// public TimeSpan CommandTimeout { get; set; } /// /// Gets the command exit status. /// - /// - /// - /// public int ExitStatus { get; private set; } /// /// Gets the output stream. /// - /// - /// - /// #pragma warning disable CA1859 // Use concrete types when possible for improved performance public Stream OutputStream { get; private set; } #pragma warning restore CA1859 // Use concrete types when possible for improved performance @@ -69,9 +60,6 @@ public class SshCommand : IDisposable /// /// Gets the extended output stream. /// - /// - /// - /// #pragma warning disable CA1859 // Use concrete types when possible for improved performance public Stream ExtendedOutputStream { get; private set; } #pragma warning restore CA1859 // Use concrete types when possible for improved performance @@ -79,9 +67,6 @@ public class SshCommand : IDisposable /// /// Gets the command execution result. /// - /// - /// - /// public string Result { get @@ -107,9 +92,6 @@ public string Result /// /// Gets the command execution error. /// - /// - /// - /// public string Error { get @@ -177,9 +159,6 @@ internal SshCommand(ISession session, string commandText, Encoding encoding) /// /// An that represents the asynchronous command execution, which could still be pending. /// - /// - /// - /// /// Asynchronous operation is already in progress. /// Invalid operation. /// CommandText property is empty. @@ -301,9 +280,6 @@ public IAsyncResult BeginExecute(string commandText, AsyncCallback callback, obj /// /// The reference to the pending asynchronous request to finish. /// Command execution result. - /// - /// - /// /// Either the IAsyncResult object did not come from the corresponding async method on this type, or EndExecute was called multiple times with the same IAsyncResult. /// is . public string EndExecute(IAsyncResult asyncResult) @@ -355,11 +331,6 @@ public void CancelAsync() /// /// Command execution result. /// - /// - /// - /// - /// - /// /// Client is not connected. /// Operation has timed out. public string Execute()