浏览代码

Complete previouse renaming checking
Minor fixes that was recenty broken earlier
Apply some FxCop recomendation

olegkap_cp 14 年之前
父节点
当前提交
2f42d5a31e
共有 100 个文件被更改,包括 394 次插入204 次删除
  1. 3 3
      Renci.SshClient/Renci.SshNet.Tests/ConnectionTest.cs
  2. 3 3
      Renci.SshClient/Renci.SshNet.Tests/Properties/Resources.Designer.cs
  3. 7 7
      Renci.SshClient/Renci.SshNet.Tests/Security/Cryptography/TestAes.cs
  4. 3 3
      Renci.SshClient/Renci.SshNet.Tests/Security/Cryptography/TestBlowfish.cs
  5. 2 2
      Renci.SshClient/Renci.SshNet.Tests/Security/Cryptography/TestCast.cs
  6. 3 3
      Renci.SshClient/Renci.SshNet.Tests/Security/TestCipher.cs
  7. 2 2
      Renci.SshClient/Renci.SshNet.Tests/Security/TestCryptoKey.cs
  8. 3 3
      Renci.SshClient/Renci.SshNet.Tests/Security/TestHMac.cs
  9. 3 3
      Renci.SshClient/Renci.SshNet.Tests/Security/TestHostKey.cs
  10. 3 3
      Renci.SshClient/Renci.SshNet.Tests/Security/TestKeyExchange.cs
  11. 1 1
      Renci.SshClient/Renci.SshNet.Tests/Security/TestPrivateKeyFile.cs
  12. 3 3
      Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/CreateDirectoryTest.cs
  13. 4 3
      Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/DeleteDirectoryTest.cs
  14. 1 1
      Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/DeleteFileTest.cs
  15. 2 2
      Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/GetTest.cs
  16. 3 3
      Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/ListDirectoryTest.cs
  17. 2 2
      Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/RenameFileTest.cs
  18. 4 4
      Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/UploadDownloadFileTest.cs
  19. 3 3
      Renci.SshClient/Renci.SshNet.Tests/SshClientTests/TestPortForwarding.cs
  20. 1 1
      Renci.SshClient/Renci.SshNet.Tests/SshClientTests/TestShell.cs
  21. 8 6
      Renci.SshClient/Renci.SshNet.Tests/SshClientTests/TestSshCommand.cs
  22. 3 3
      Renci.SshClient/Renci.SshNet/BaseClient.cs
  23. 1 1
      Renci.SshClient/Renci.SshNet/ChannelAsyncResult.cs
  24. 4 4
      Renci.SshClient/Renci.SshNet/Channels/Channel.cs
  25. 3 3
      Renci.SshClient/Renci.SshNet/Channels/ChannelDirectTcpip.cs
  26. 3 3
      Renci.SshClient/Renci.SshNet/Channels/ChannelForwardedTcpip.cs
  27. 3 3
      Renci.SshClient/Renci.SshNet/Channels/ChannelSession.cs
  28. 1 1
      Renci.SshClient/Renci.SshNet/Channels/ChannelTypes.cs
  29. 2 2
      Renci.SshClient/Renci.SshNet/Common/AuthenticationBannerEventArgs.cs
  30. 2 2
      Renci.SshClient/Renci.SshNet/Common/AuthenticationEventArgs.cs
  31. 2 2
      Renci.SshClient/Renci.SshNet/Common/AuthenticationPasswordChangeEventArgs.cs
  32. 2 2
      Renci.SshClient/Renci.SshNet/Common/AuthenticationPrompt.cs
  33. 2 2
      Renci.SshClient/Renci.SshNet/Common/AuthenticationPromptEventArgs.cs
  34. 2 2
      Renci.SshClient/Renci.SshNet/Common/ChannelDataEventArgs.cs
  35. 1 1
      Renci.SshClient/Renci.SshNet/Common/ChannelEventArgs.cs
  36. 2 2
      Renci.SshClient/Renci.SshNet/Common/ChannelOpenFailedEventArgs.cs
  37. 3 3
      Renci.SshClient/Renci.SshNet/Common/ChannelRequestEventArgs.cs
  38. 1 1
      Renci.SshClient/Renci.SshNet/Common/Extensions.cs
  39. 1 1
      Renci.SshClient/Renci.SshNet/Common/PipeStream.cs
  40. 2 2
      Renci.SshClient/Renci.SshNet/Common/PortForwardEventArgs.cs
  41. 30 1
      Renci.SshClient/Renci.SshNet/Common/SshAuthenticationException.cs
  42. 37 6
      Renci.SshClient/Renci.SshNet/Common/SshConnectionException.cs
  43. 4 5
      Renci.SshClient/Renci.SshNet/Common/SshData.cs
  44. 1 1
      Renci.SshClient/Renci.SshNet/Common/SshException.cs
  45. 33 1
      Renci.SshClient/Renci.SshNet/Common/SshFileNotFoundException.cs
  46. 33 1
      Renci.SshClient/Renci.SshNet/Common/SshOperationTimeoutException.cs
  47. 33 1
      Renci.SshClient/Renci.SshNet/Common/SshPassPhraseNullOrEmptyException.cs
  48. 33 1
      Renci.SshClient/Renci.SshNet/Common/SshPermissionDeniedException.cs
  49. 2 2
      Renci.SshClient/Renci.SshNet/Compression/Compressor.cs
  50. 1 1
      Renci.SshClient/Renci.SshNet/Compression/Zlib.cs
  51. 1 1
      Renci.SshClient/Renci.SshNet/Compression/ZlibOpenSsh.cs
  52. 6 6
      Renci.SshClient/Renci.SshNet/ConnectionInfo.cs
  53. 2 2
      Renci.SshClient/Renci.SshNet/ExceptionEventArgs.cs
  54. 4 4
      Renci.SshClient/Renci.SshNet/ForwardedPort.cs
  55. 2 2
      Renci.SshClient/Renci.SshNet/ForwardedPortLocal.cs
  56. 6 6
      Renci.SshClient/Renci.SshNet/ForwardedPortRemote.cs
  57. 5 5
      Renci.SshClient/Renci.SshNet/KeyboardInteractiveConnectionInfo.cs
  58. 1 1
      Renci.SshClient/Renci.SshNet/MessageEventArgs.cs
  59. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Authentication/BannerMessage.cs
  60. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Authentication/FailureMessage.cs
  61. 2 2
      Renci.SshClient/Renci.SshNet/Messages/Authentication/InformationRequestMessage.cs
  62. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Authentication/InformationResponseMessage.cs
  63. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Authentication/PasswordChangeRequiredMessage.cs
  64. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Authentication/PublicKeyMessage.cs
  65. 5 5
      Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessage.cs
  66. 2 2
      Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessageHost.cs
  67. 2 2
      Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessageKeyboardInteractive.cs
  68. 2 2
      Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessageNone.cs
  69. 3 3
      Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessagePassword.cs
  70. 3 3
      Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessagePublicKey.cs
  71. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Authentication/SuccessMessage.cs
  72. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelCloseMessage.cs
  73. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelDataMessage.cs
  74. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelEofMessage.cs
  75. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelExtendedDataMessage.cs
  76. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelFailureMessage.cs
  77. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelMessage.cs
  78. 2 2
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/ChannelOpenInfo.cs
  79. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/ChannelOpenMessage.cs
  80. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/DirectTcpipChannelInfo.cs
  81. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/ForwardedTcpipChannelInfo.cs
  82. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/SessionChannelOpenInfo.cs
  83. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/X11ChannelOpenInfo.cs
  84. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpenConfirmationMessage.cs
  85. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpenFailureMessage.cs
  86. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpenFailureReasons.cs
  87. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ChannelRequestMessage.cs
  88. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/EnvironmentVariableRequestInfo.cs
  89. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ExecRequestInfo.cs
  90. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ExitSignalRequestInfo.cs
  91. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ExitStatusRequestInfo.cs
  92. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/PseudoTerminalInfo.cs
  93. 2 2
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/RequestInfo.cs
  94. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ShellRequestInfo.cs
  95. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/SignalRequestInfo.cs
  96. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/SubsystemRequestInfo.cs
  97. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/WindowChangeRequestInfo.cs
  98. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/X11ForwardingRequestInfo.cs
  99. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/XonXoffRequestInfo.cs
  100. 1 1
      Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelSuccessMessage.cs

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/ConnectionTest.cs

@@ -4,12 +4,12 @@ using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
 using System.IO;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Tests.Properties;
 using System.Security.Authentication;
-using Renci.SshClient.Common;
+using Renci.SshNet.Common;
 using System.Net;
 
-namespace Renci.SshClient.Tests
+namespace Renci.SshNet.Tests
 {
     [TestClass]
     public class ConnectionTest

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/Properties/Resources.Designer.cs

@@ -1,14 +1,14 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.1
+//     Runtime Version:4.0.30319.225
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Renci.SshClient.Tests.Properties {
+namespace Renci.SshNet.Tests.Properties {
     using System;
     
     
@@ -39,7 +39,7 @@ namespace Renci.SshClient.Tests.Properties {
         internal static global::System.Resources.ResourceManager ResourceManager {
             get {
                 if (object.ReferenceEquals(resourceMan, null)) {
-                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Renci.SshClient.Tests.Properties.Resources", typeof(Resources).Assembly);
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Renci.SshNet.Tests.Properties.Resources", typeof(Resources).Assembly);
                     resourceMan = temp;
                 }
                 return resourceMan;

+ 7 - 7
Renci.SshClient/Renci.SshNet.Tests/Security/Cryptography/TestAes.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
 
-namespace Renci.SshClient.Tests.Security.Cryptography
+namespace Renci.SshNet.Tests.Security.Cryptography
 {
     [TestClass]
     public class TestAes
@@ -20,7 +20,7 @@ namespace Renci.SshClient.Tests.Security.Cryptography
             var encodedResult = new byte[input.Length];
             var decodedResult = new byte[input.Length];
 
-            var cipher = new Renci.SshClient.Security.Cryptography.Aes(128);
+            var cipher = new Renci.SshNet.Security.Cryptography.Aes(128);
             cipher.Mode = System.Security.Cryptography.CipherMode.CBC;
             cipher.Padding = System.Security.Cryptography.PaddingMode.None;
             var enc = cipher.CreateEncryptor(key, iv);
@@ -44,7 +44,7 @@ namespace Renci.SshClient.Tests.Security.Cryptography
             var encodedResult = new byte[input.Length];
             var decodedResult = new byte[input.Length];
 
-            var cipher = new Renci.SshClient.Security.Cryptography.Aes(192);
+            var cipher = new Renci.SshNet.Security.Cryptography.Aes(192);
             cipher.Mode = System.Security.Cryptography.CipherMode.CBC;
             cipher.Padding = System.Security.Cryptography.PaddingMode.None;
             var enc = cipher.CreateEncryptor(key, iv);
@@ -68,7 +68,7 @@ namespace Renci.SshClient.Tests.Security.Cryptography
             var encodedResult = new byte[input.Length];
             var decodedResult = new byte[input.Length];
 
-            var cipher = new Renci.SshClient.Security.Cryptography.Aes(256);
+            var cipher = new Renci.SshNet.Security.Cryptography.Aes(256);
             cipher.Mode = System.Security.Cryptography.CipherMode.CBC;
             cipher.Padding = System.Security.Cryptography.PaddingMode.None;
             var enc = cipher.CreateEncryptor(key, iv);
@@ -92,7 +92,7 @@ namespace Renci.SshClient.Tests.Security.Cryptography
             var encodedResult = new byte[input.Length];
             var decodedResult = new byte[input.Length];
 
-            var cipher = new Renci.SshClient.Security.Cryptography.Aes(128);
+            var cipher = new Renci.SshNet.Security.Cryptography.Aes(128);
             cipher.Mode = System.Security.Cryptography.CipherMode.CFB;
             cipher.Padding = System.Security.Cryptography.PaddingMode.None;
             var enc = cipher.CreateEncryptor(key, iv);
@@ -116,7 +116,7 @@ namespace Renci.SshClient.Tests.Security.Cryptography
             var encodedResult = new byte[input.Length];
             var decodedResult = new byte[input.Length];
 
-            var cipher = new Renci.SshClient.Security.Cryptography.Aes(128);
+            var cipher = new Renci.SshNet.Security.Cryptography.Aes(128);
             cipher.Mode = System.Security.Cryptography.CipherMode.CFB;
             cipher.Padding = System.Security.Cryptography.PaddingMode.None;
             var enc = cipher.CreateEncryptor(key, iv);
@@ -140,7 +140,7 @@ namespace Renci.SshClient.Tests.Security.Cryptography
             var encodedResult = new byte[input.Length];
             var decodedResult = new byte[input.Length];
 
-            var cipher = new Renci.SshClient.Security.Cryptography.Aes(128);
+            var cipher = new Renci.SshNet.Security.Cryptography.Aes(128);
             cipher.Mode = System.Security.Cryptography.CipherMode.CFB;
             cipher.Padding = System.Security.Cryptography.PaddingMode.None;
             var enc = cipher.CreateEncryptor(key, iv);

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/Security/Cryptography/TestBlowfish.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
 
-namespace Renci.SshClient.Tests.Security.Cryptography
+namespace Renci.SshNet.Tests.Security.Cryptography
 {
     [TestClass]
     public class TestBlowfish
@@ -20,7 +20,7 @@ namespace Renci.SshClient.Tests.Security.Cryptography
             var encodedResult = new byte[input.Length];
             var decodedResult = new byte[input.Length];
 
-            var cipher = new Renci.SshClient.Security.Cryptography.Blowfish();
+            var cipher = new Renci.SshNet.Security.Cryptography.Blowfish();
             cipher.Mode = System.Security.Cryptography.CipherMode.CBC;
             var enc = cipher.CreateEncryptor(key, iv);
             enc.TransformBlock(input, 0, input.Length, encodedResult, 0);
@@ -43,7 +43,7 @@ namespace Renci.SshClient.Tests.Security.Cryptography
             var encodedResult = new byte[input.Length];
             var decodedResult = new byte[input.Length];
 
-            var cipher = new Renci.SshClient.Security.Cryptography.Blowfish(128);
+            var cipher = new Renci.SshNet.Security.Cryptography.Blowfish(128);
             cipher.Mode = System.Security.Cryptography.CipherMode.CBC;
             var enc = cipher.CreateEncryptor(key, iv);
             enc.TransformBlock(input, 0, input.Length, encodedResult, 0);

+ 2 - 2
Renci.SshClient/Renci.SshNet.Tests/Security/Cryptography/TestCast.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
 
-namespace Renci.SshClient.Tests.Security.Cryptography
+namespace Renci.SshNet.Tests.Security.Cryptography
 {
     [TestClass]
     public class TestCast
@@ -20,7 +20,7 @@ namespace Renci.SshClient.Tests.Security.Cryptography
             var encodedResult = new byte[input.Length];
             var decodedResult = new byte[input.Length];
 
-            var cipher = new Renci.SshClient.Security.Cryptography.Cast(128);
+            var cipher = new Renci.SshNet.Security.Cryptography.Cast(128);
             cipher.Mode = System.Security.Cryptography.CipherMode.CBC;
             var enc = cipher.CreateEncryptor(key, iv);
             enc.TransformBlock(input, 0, input.Length, encodedResult, 0);

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/Security/TestCipher.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Security;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Security;
+using Renci.SshNet.Tests.Properties;
 
-namespace Renci.SshClient.Tests.Security
+namespace Renci.SshNet.Tests.Security
 {
     [TestClass]
     public class TestCipher

+ 2 - 2
Renci.SshClient/Renci.SshNet.Tests/Security/TestCryptoKey.cs

@@ -3,9 +3,9 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Security;
+using Renci.SshNet.Security;
 
-namespace Renci.SshClient.Tests.Security
+namespace Renci.SshNet.Tests.Security
 {
     [TestClass]
     public class TestCryptoKey

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/Security/TestHMac.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Security;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Security;
+using Renci.SshNet.Tests.Properties;
 
-namespace Renci.SshClient.Tests.Security
+namespace Renci.SshNet.Tests.Security
 {
     [TestClass]
     public class TestHMac

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/Security/TestHostKey.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Security;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Security;
+using Renci.SshNet.Tests.Properties;
 
-namespace Renci.SshClient.Tests.Security
+namespace Renci.SshNet.Tests.Security
 {
     [TestClass]
     public class TestHostKey

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/Security/TestKeyExchange.cs

@@ -1,8 +1,8 @@
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Security;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Security;
+using Renci.SshNet.Tests.Properties;
 
-namespace Renci.SshClient.Tests.Security
+namespace Renci.SshNet.Tests.Security
 {
     [TestClass]
     public class TestKeyExchange

+ 1 - 1
Renci.SshClient/Renci.SshNet.Tests/Security/TestPrivateKeyFile.cs

@@ -5,7 +5,7 @@ using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
 using System.IO;
 
-namespace Renci.SshClient.Tests.Security
+namespace Renci.SshNet.Tests.Security
 {
     [TestClass]
     public class TestPrivateKeyFile

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/CreateDirectoryTest.cs

@@ -1,8 +1,8 @@
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Common;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Common;
+using Renci.SshNet.Tests.Properties;
 
-namespace Renci.SshClient.Tests.SftpClientTests
+namespace Renci.SshNet.Tests.SftpClientTests
 {
     /// <summary>
     /// Summary description for CreateDirectoryTest

+ 4 - 3
Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/DeleteDirectoryTest.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Common;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Common;
+using Renci.SshNet.Tests.Properties;
 
-namespace Renci.SshClient.Tests.SftpClientTests
+namespace Renci.SshNet.Tests.SftpClientTests
 {
     [TestClass]
     public class DeleteDirectoryTest
@@ -73,6 +73,7 @@ namespace Renci.SshClient.Tests.SftpClientTests
                 sftp.Connect();
 
                 sftp.CreateDirectory("abcdef");
+                sftp.DeleteDirectory("abcdef");
 
                 sftp.Disconnect();
             }

+ 1 - 1
Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/DeleteFileTest.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 
-namespace Renci.SshClient.Tests.SftpClientTests
+namespace Renci.SshNet.Tests.SftpClientTests
 {
     class DeleteFileTest
     {

+ 2 - 2
Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/GetTest.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Tests.Properties;
 using System.IO;
 
-namespace Renci.SshClient.Tests.SftpClientTests
+namespace Renci.SshNet.Tests.SftpClientTests
 {
     [TestClass]
     public class GetTest

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/ListDirectoryTest.cs

@@ -3,11 +3,11 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Common;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Common;
+using Renci.SshNet.Tests.Properties;
 using System.Diagnostics;
 
-namespace Renci.SshClient.Tests.SftpClientTests
+namespace Renci.SshNet.Tests.SftpClientTests
 {
     [TestClass]
     public class ListDirectoryTest

+ 2 - 2
Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/RenameFileTest.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Tests.Properties;
 using System.IO;
 
-namespace Renci.SshClient.Tests.SftpClientTests
+namespace Renci.SshNet.Tests.SftpClientTests
 {
     [TestClass]
     public class RenameFileTest

+ 4 - 4
Renci.SshClient/Renci.SshNet.Tests/SftpClientTests/UploadDownloadFileTest.cs

@@ -3,14 +3,14 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Common;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Common;
+using Renci.SshNet.Tests.Properties;
 using System.IO;
 using System.Security.Cryptography;
-using Renci.SshClient.Sftp;
+using Renci.SshNet.Sftp;
 using System.Threading;
 
-namespace Renci.SshClient.Tests.SftpClientTests
+namespace Renci.SshNet.Tests.SftpClientTests
 {
     [TestClass]
     public class UploadDownloadFileTest

+ 3 - 3
Renci.SshClient/Renci.SshNet.Tests/SshClientTests/TestPortForwarding.cs

@@ -3,10 +3,10 @@ using System.Diagnostics;
 using System.IO;
 using System.Net;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Tests.Properties;
-using Renci.SshClient.Common;
+using Renci.SshNet.Tests.Properties;
+using Renci.SshNet.Common;
 
-namespace Renci.SshClient.Tests.SshClientTests
+namespace Renci.SshNet.Tests.SshClientTests
 {
     /// <summary>
     /// Summary description for UnitTest1

+ 1 - 1
Renci.SshClient/Renci.SshNet.Tests/SshClientTests/TestShell.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Text;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
 
-namespace Renci.SshClient.Tests.SshClientTests
+namespace Renci.SshNet.Tests.SshClientTests
 {
     [TestClass]
     public class TestShell

+ 8 - 6
Renci.SshClient/Renci.SshNet.Tests/SshClientTests/TestSshCommand.cs

@@ -4,11 +4,11 @@ using System.Text;
 using System.Threading;
 using System.Threading.Tasks;
 using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Renci.SshClient.Common;
-using Renci.SshClient.Tests.Properties;
+using Renci.SshNet.Common;
+using Renci.SshNet.Tests.Properties;
 using System.IO;
 
-namespace Renci.SshClient.Tests.SshClientTests
+namespace Renci.SshNet.Tests.SshClientTests
 {
     [TestClass]
     public class TestSshCommand
@@ -314,9 +314,11 @@ namespace Renci.SshClient.Tests.SshClientTests
             using (var client = new SshClient(Resources.HOST, Resources.USERNAME, Resources.PASSWORD))
             {
                 client.Connect();
-                var cmd = client.CreateCommand("ls -l");
+                var cmd = client.CreateCommand("echo 12345");
                 cmd.Execute();
-                cmd.Execute("ls -l");
+                Assert.AreEqual("12345\n", cmd.Result);
+                cmd.Execute("echo 23456");
+                Assert.AreEqual("23456\n", cmd.Result);
                 client.Disconnect();
             }
         }
@@ -363,7 +365,7 @@ namespace Renci.SshClient.Tests.SshClientTests
 
 
 
-        private static bool ExecuteTestCommand(Renci.SshClient.SshClient s)
+        private static bool ExecuteTestCommand(SshClient s)
         {
             var testValue = Guid.NewGuid().ToString();
             var command = string.Format("echo {0}", testValue);

+ 3 - 3
Renci.SshClient/Renci.SshNet/BaseClient.cs

@@ -1,9 +1,9 @@
 using System;
 using System.IO;
 using System.Threading;
-using Renci.SshClient.Common;
+using Renci.SshNet.Common;
 
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
     /// Serves as base class for client implementations, provides common client functionality.
@@ -167,7 +167,7 @@ namespace Renci.SshClient
         /// <summary>
         /// Ensures that client is connected.
         /// </summary>
-        /// <exception cref="Renci.SshClient.Common.SshConnectionException">When client not connected.</exception>
+        /// <exception cref="Renci.SshNet.Common.SshConnectionException">When client not connected.</exception>
         protected void EnsureConnection()
         {
             if (!this.Session.IsConnected)

+ 1 - 1
Renci.SshClient/Renci.SshNet/ChannelAsyncResult.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Threading;
 
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
     /// Provides additional information for asynchronous command execution

+ 4 - 4
Renci.SshClient/Renci.SshNet/Channels/Channel.cs

@@ -1,10 +1,10 @@
 using System;
 using System.Threading;
-using Renci.SshClient.Common;
-using Renci.SshClient.Messages;
-using Renci.SshClient.Messages.Connection;
+using Renci.SshNet.Common;
+using Renci.SshNet.Messages;
+using Renci.SshNet.Messages.Connection;
 
-namespace Renci.SshClient.Channels
+namespace Renci.SshNet.Channels
 {
     /// <summary>
     /// Represents base class for SSH channel implementations.

+ 3 - 3
Renci.SshClient/Renci.SshNet/Channels/ChannelDirectTcpip.cs

@@ -4,10 +4,10 @@ using System.Net;
 using System.Net.Sockets;
 using System.Threading;
 using System.Threading.Tasks;
-using Renci.SshClient.Common;
-using Renci.SshClient.Messages.Connection;
+using Renci.SshNet.Common;
+using Renci.SshNet.Messages.Connection;
 
-namespace Renci.SshClient.Channels
+namespace Renci.SshNet.Channels
 {
     /// <summary>
     /// Implements "direct-tcpip" SSH channel.

+ 3 - 3
Renci.SshClient/Renci.SshNet/Channels/ChannelForwardedTcpip.cs

@@ -3,10 +3,10 @@ using System.Linq;
 using System.Net;
 using System.Net.Sockets;
 using System.Threading;
-using Renci.SshClient.Common;
-using Renci.SshClient.Messages.Connection;
+using Renci.SshNet.Common;
+using Renci.SshNet.Messages.Connection;
 
-namespace Renci.SshClient.Channels
+namespace Renci.SshNet.Channels
 {
     /// <summary>
     /// Implements "forwarded-tcpip" SSH channel.

+ 3 - 3
Renci.SshClient/Renci.SshNet/Channels/ChannelSession.cs

@@ -1,10 +1,10 @@
 using System.Diagnostics;
 using System.Threading;
-using Renci.SshClient.Common;
-using Renci.SshClient.Messages.Connection;
+using Renci.SshNet.Common;
+using Renci.SshNet.Messages.Connection;
 using System.Globalization;
 
-namespace Renci.SshClient.Channels
+namespace Renci.SshNet.Channels
 {
     /// <summary>
     /// Implements "forwarded-tcpip" SSH channel.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Channels/ChannelTypes.cs

@@ -1,5 +1,5 @@
 
-namespace Renci.SshClient.Channels
+namespace Renci.SshNet.Channels
 {
     /// <summary>
     /// Lists channel types as defined by the protocol.

+ 2 - 2
Renci.SshClient/Renci.SshNet/Common/AuthenticationBannerEventArgs.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
-    /// Provides data for <see cref="Renci.SshClient.ConnectionInfo.AuthenticationBanner"/> event.
+    /// Provides data for <see cref="Renci.SshNet.ConnectionInfo.AuthenticationBanner"/> event.
     /// </summary>
     public class AuthenticationBannerEventArgs : AuthenticationEventArgs
     {

+ 2 - 2
Renci.SshClient/Renci.SshNet/Common/AuthenticationEventArgs.cs

@@ -2,9 +2,9 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
-using Renci.SshClient.Messages.Authentication;
+using Renci.SshNet.Messages.Authentication;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// Base class for authentication events.

+ 2 - 2
Renci.SshClient/Renci.SshNet/Common/AuthenticationPasswordChangeEventArgs.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
-    /// Provides data for <see cref="Renci.SshClient.PasswordConnectionInfo.PasswordExpired"/> event.
+    /// Provides data for <see cref="Renci.SshNet.PasswordConnectionInfo.PasswordExpired"/> event.
     /// </summary>
     public class AuthenticationPasswordChangeEventArgs : AuthenticationEventArgs
     {

+ 2 - 2
Renci.SshClient/Renci.SshNet/Common/AuthenticationPrompt.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
-    /// Provides prompt information when <see cref="Renci.SshClient.KeyboardInteractiveConnectionInfo.AuthenticationPrompt"/> is raised
+    /// Provides prompt information when <see cref="Renci.SshNet.KeyboardInteractiveConnectionInfo.AuthenticationPrompt"/> is raised
     /// </summary>
     public class AuthenticationPrompt
     {

+ 2 - 2
Renci.SshClient/Renci.SshNet/Common/AuthenticationPromptEventArgs.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
-    /// Provides data for <see cref="Renci.SshClient.KeyboardInteractiveConnectionInfo.AuthenticationPrompt"/> event.
+    /// Provides data for <see cref="Renci.SshNet.KeyboardInteractiveConnectionInfo.AuthenticationPrompt"/> event.
     /// </summary>
     public class AuthenticationPromptEventArgs : AuthenticationEventArgs
     {

+ 2 - 2
Renci.SshClient/Renci.SshNet/Common/ChannelDataEventArgs.cs

@@ -1,7 +1,7 @@
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
-    /// Provides data for <see cref="Renci.SshClient.Channels.Channel.DataReceived"/> event and <see cref="Renci.SshClient.Channels.Channel.ExtendedDataReceived"/> events.
+    /// Provides data for <see cref="Renci.SshNet.Channels.Channel.DataReceived"/> event and <see cref="Renci.SshNet.Channels.Channel.ExtendedDataReceived"/> events.
     /// </summary>
     internal class ChannelDataEventArgs : ChannelEventArgs
     {

+ 1 - 1
Renci.SshClient/Renci.SshNet/Common/ChannelEventArgs.cs

@@ -1,6 +1,6 @@
 using System;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// Base class for all channel related events.

+ 2 - 2
Renci.SshClient/Renci.SshNet/Common/ChannelOpenFailedEventArgs.cs

@@ -1,7 +1,7 @@
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
-    /// Provides data for <see cref="Renci.SshClient.Channels.Channel.OpenFailed"/> event.
+    /// Provides data for <see cref="Renci.SshNet.Channels.Channel.OpenFailed"/> event.
     /// </summary>
     internal class ChannelOpenFailedEventArgs : ChannelEventArgs
     {

+ 3 - 3
Renci.SshClient/Renci.SshNet/Common/ChannelRequestEventArgs.cs

@@ -1,10 +1,10 @@
 using System;
-using Renci.SshClient.Messages.Connection;
+using Renci.SshNet.Messages.Connection;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
-    /// Provides data for <see cref="Renci.SshClient.Channels.Channel.RequestReceived"/> event.
+    /// Provides data for <see cref="Renci.SshNet.Channels.Channel.RequestReceived"/> event.
     /// </summary>
     internal class ChannelRequestEventArgs : EventArgs
     {

+ 1 - 1
Renci.SshClient/Renci.SshNet/Common/Extensions.cs

@@ -5,7 +5,7 @@ using System.Linq;
 using System;
 using System.Globalization;
 
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
     /// Collection of different extension method

+ 1 - 1
Renci.SshClient/Renci.SshNet/Common/PipeStream.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     using System;
     using System.Collections.Generic;

+ 2 - 2
Renci.SshClient/Renci.SshNet/Common/PortForwardEventArgs.cs

@@ -3,10 +3,10 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
-    /// Provides data for <see cref="Renci.SshClient.ForwardedPort.RequestReceived"/> event.
+    /// Provides data for <see cref="Renci.SshNet.ForwardedPort.RequestReceived"/> event.
     /// </summary>
     public class PortForwardEventArgs : EventArgs
     {

+ 30 - 1
Renci.SshClient/Renci.SshNet/Common/SshAuthenticationException.cs

@@ -2,8 +2,9 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
+using System.Runtime.Serialization;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// The exception that is thrown when authentication failed.
@@ -11,6 +12,11 @@ namespace Renci.SshClient.Common
     [Serializable]
     public class SshAuthenticationException : SshException
     {
+        public SshAuthenticationException()
+        {
+
+        }
+
         /// <summary>
         /// Initializes a new instance of the <see cref="SshAuthenticationException"/> class.
         /// </summary>
@@ -20,5 +26,28 @@ namespace Renci.SshClient.Common
         {
 
         }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshAuthenticationException"/> class.
+        /// </summary>
+        /// <param name="message">The message.</param>
+        /// <param name="innerException">The inner exception.</param>
+        public SshAuthenticationException(string message, Exception innerException) :
+            base(message, innerException)
+        {
+        }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshAuthenticationException"/> class.
+        /// </summary>
+        /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
+        /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+        /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
+        ///   
+        /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
+        protected SshAuthenticationException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
+        {
+        }
     }
 }

+ 37 - 6
Renci.SshClient/Renci.SshNet/Common/SshConnectionException.cs

@@ -1,7 +1,8 @@
 using System;
-using Renci.SshClient.Messages.Transport;
+using Renci.SshNet.Messages.Transport;
+using System.Runtime.Serialization;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// The exception that is thrown when connection was terminated.
@@ -12,7 +13,14 @@ namespace Renci.SshClient.Common
         /// <summary>
         /// Gets the disconnect reason if provided by the server or client. Otherwise None.
         /// </summary>
-        public DisconnectReasons DisconnectReason { get; private set; }
+        public DisconnectReason DisconnectReason { get; private set; }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshConnectionException"/> class.
+        /// </summary>
+        public SshConnectionException()
+        {
+        }
 
         /// <summary>
         /// Initializes a new instance of the <see cref="SshConnectionException"/> class.
@@ -21,7 +29,7 @@ namespace Renci.SshClient.Common
         public SshConnectionException(string message)
             : base(message)
         {
-            this.DisconnectReason = DisconnectReasons.None;
+            this.DisconnectReason = DisconnectReason.None;
         }
 
         /// <summary>
@@ -29,7 +37,7 @@ namespace Renci.SshClient.Common
         /// </summary>
         /// <param name="message">The message.</param>
         /// <param name="disconnectReasonCode">The disconnect reason code.</param>
-        public SshConnectionException(string message, DisconnectReasons disconnectReasonCode)
+        public SshConnectionException(string message, DisconnectReason disconnectReasonCode)
             : base(message)
         {
             this.DisconnectReason = disconnectReasonCode;
@@ -41,12 +49,35 @@ namespace Renci.SshClient.Common
         /// <param name="message">The message.</param>
         /// <param name="disconnectReasonCode">The disconnect reason code.</param>
         /// <param name="inner">The inner.</param>
-        public SshConnectionException(string message, DisconnectReasons disconnectReasonCode, Exception inner)
+        public SshConnectionException(string message, DisconnectReason disconnectReasonCode, Exception inner)
             : base(message, inner)
         {
             this.DisconnectReason = disconnectReasonCode;
         }
 
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshConnectionException"/> class.
+        /// </summary>
+        /// <param name="message">The message.</param>
+        /// <param name="innerException">The inner exception.</param>
+        public SshConnectionException(string message, Exception innerException) :
+            base(message, innerException)
+        {
+        }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshConnectionException"/> class.
+        /// </summary>
+        /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
+        /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+        /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
+        ///   
+        /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
+        protected SshConnectionException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
+        {
+        }
+
         /// <summary>
         /// Gets the object data.
         /// </summary>

+ 4 - 5
Renci.SshClient/Renci.SshNet/Common/SshData.cs

@@ -3,10 +3,9 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Numerics;
 using System.Text;
-using Renci.SshClient;
 using System.Globalization;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// Base ssh data serialization type
@@ -74,10 +73,10 @@ namespace Renci.SshClient.Common
         /// <summary>
         /// Loads data from specified bytes.
         /// </summary>
-        /// <param name="bytes">Bytes array.</param>
-        public void Load(byte[] bytes)
+        /// <param name="value">Bytes array.</param>
+        public void Load(byte[] value)
         {
-            this.LoadBytes(bytes);
+            this.LoadBytes(value);
             this.LoadData();
         }
 

+ 1 - 1
Renci.SshClient/Renci.SshNet/Common/SshException.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Runtime.Serialization;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// The exception that is thrown when SSH exception occurs.

+ 33 - 1
Renci.SshClient/Renci.SshNet/Common/SshFileNotFoundException.cs

@@ -2,8 +2,9 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
+using System.Runtime.Serialization;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// The exception that is thrown when file or directory is not found.
@@ -11,6 +12,14 @@ namespace Renci.SshClient.Common
     [Serializable]
     public class SshFileNotFoundException : SshException
     {
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshFileNotFoundException"/> class.
+        /// </summary>
+        public SshFileNotFoundException()
+        {
+
+        }
+
         /// <summary>
         /// Initializes a new instance of the <see cref="SshFileNotFoundException"/> class.
         /// </summary>
@@ -20,5 +29,28 @@ namespace Renci.SshClient.Common
         {
 
         }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshFileNotFoundException"/> class.
+        /// </summary>
+        /// <param name="message">The message.</param>
+        /// <param name="innerException">The inner exception.</param>
+        public SshFileNotFoundException(string message, Exception innerException) :
+            base(message, innerException)
+        {
+        }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshFileNotFoundException"/> class.
+        /// </summary>
+        /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
+        /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+        /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
+        ///   
+        /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
+        protected SshFileNotFoundException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
+        {
+        }
     }
 }

+ 33 - 1
Renci.SshClient/Renci.SshNet/Common/SshOperationTimeoutException.cs

@@ -1,6 +1,7 @@
 using System;
+using System.Runtime.Serialization;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// The exception that is thrown when operation is timed out.
@@ -8,6 +9,14 @@ namespace Renci.SshClient.Common
     [Serializable]
     public class SshOperationTimeoutException : SshException
     {
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshOperationTimeoutException"/> class.
+        /// </summary>
+        public SshOperationTimeoutException()
+        {
+
+        }
+
         /// <summary>
         /// Initializes a new instance of the <see cref="SshOperationTimeoutException"/> class.
         /// </summary>
@@ -17,5 +26,28 @@ namespace Renci.SshClient.Common
         {
 
         }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshOperationTimeoutException"/> class.
+        /// </summary>
+        /// <param name="message">The message.</param>
+        /// <param name="innerException">The inner exception.</param>
+        public SshOperationTimeoutException(string message, Exception innerException) :
+            base(message, innerException)
+        {
+        }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshOperationTimeoutException"/> class.
+        /// </summary>
+        /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
+        /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+        /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
+        ///   
+        /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
+        protected SshOperationTimeoutException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
+        {
+        }
     }
 }

+ 33 - 1
Renci.SshClient/Renci.SshNet/Common/SshPassPhraseNullOrEmptyException.cs

@@ -2,8 +2,9 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
+using System.Runtime.Serialization;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// The exception that is thrown when pass phrase for key file is empty or null
@@ -11,6 +12,14 @@ namespace Renci.SshClient.Common
     [Serializable]
     public class SshPassPhraseNullOrEmptyException : SshException
     {
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshPassPhraseNullOrEmptyException"/> class.
+        /// </summary>
+        public SshPassPhraseNullOrEmptyException()
+        {
+
+        }
+
         /// <summary>
         /// Initializes a new instance of the <see cref="SshPassPhraseNullOrEmptyException"/> class.
         /// </summary>
@@ -20,5 +29,28 @@ namespace Renci.SshClient.Common
         {
 
         }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshPassPhraseNullOrEmptyException"/> class.
+        /// </summary>
+        /// <param name="message">The message.</param>
+        /// <param name="innerException">The inner exception.</param>
+        public SshPassPhraseNullOrEmptyException(string message, Exception innerException) :
+            base(message, innerException)
+        {
+        }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshPassPhraseNullOrEmptyException"/> class.
+        /// </summary>
+        /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
+        /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+        /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
+        ///   
+        /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
+        protected SshPassPhraseNullOrEmptyException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
+        {
+        }
     }
 }

+ 33 - 1
Renci.SshClient/Renci.SshNet/Common/SshPermissionDeniedException.cs

@@ -2,8 +2,9 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
+using System.Runtime.Serialization;
 
-namespace Renci.SshClient.Common
+namespace Renci.SshNet.Common
 {
     /// <summary>
     /// The exception that is thrown when operation permission is denied.
@@ -11,6 +12,14 @@ namespace Renci.SshClient.Common
     [Serializable]
     public class SshPermissionDeniedException : SshException
     {
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshPermissionDeniedException"/> class.
+        /// </summary>
+        public SshPermissionDeniedException()
+        {
+
+        }
+
         /// <summary>
         /// Initializes a new instance of the <see cref="SshPermissionDeniedException"/> class.
         /// </summary>
@@ -20,5 +29,28 @@ namespace Renci.SshClient.Common
         {
 
         }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshPermissionDeniedException"/> class.
+        /// </summary>
+        /// <param name="message">The message.</param>
+        /// <param name="innerException">The inner exception.</param>
+        public SshPermissionDeniedException(string message, Exception innerException) :
+            base(message, innerException)
+        {
+        }
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="SshPermissionDeniedException"/> class.
+        /// </summary>
+        /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
+        /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
+        /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
+        ///   
+        /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
+        protected SshPermissionDeniedException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
+        {
+        }
     }
 }

+ 2 - 2
Renci.SshClient/Renci.SshNet/Compression/Compressor.cs

@@ -1,6 +1,6 @@
 using System.Collections.Generic;
-using Renci.SshClient.Security;
-namespace Renci.SshClient.Compression
+using Renci.SshNet.Security;
+namespace Renci.SshNet.Compression
 {
     /// <summary>
     /// Represents base class for compression algorithm implementation

+ 1 - 1
Renci.SshClient/Renci.SshNet/Compression/Zlib.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 
-namespace Renci.SshClient.Compression
+namespace Renci.SshNet.Compression
 {
     /// <summary>
     /// Represents "zlib" compression implementation

+ 1 - 1
Renci.SshClient/Renci.SshNet/Compression/ZlibOpenSsh.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 
-namespace Renci.SshClient.Compression
+namespace Renci.SshNet.Compression
 {
     /// <summary>
     /// Represents "zlib@openssh.org" compression implementation

+ 6 - 6
Renci.SshClient/Renci.SshNet/ConnectionInfo.cs

@@ -1,14 +1,14 @@
 using System;
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
-using Renci.SshClient.Security;
-using Renci.SshClient.Compression;
-using Renci.SshClient.Messages;
-using Renci.SshClient.Messages.Authentication;
-using Renci.SshClient.Common;
+using Renci.SshNet.Security;
+using Renci.SshNet.Compression;
+using Renci.SshNet.Messages;
+using Renci.SshNet.Messages.Authentication;
+using Renci.SshNet.Common;
 using System.Threading;
 using System.Net;
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
     /// Represents remote connection infroamtion base class.

+ 2 - 2
Renci.SshClient/Renci.SshNet/ExceptionEventArgs.cs

@@ -1,9 +1,9 @@
 using System;
 
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
-    /// Provides data for <see cref="Renci.SshClient.ForwardedPort.Exception"/> event.
+    /// Provides data for <see cref="Renci.SshNet.ForwardedPort.Exception"/> event.
     /// </summary>
     public class ExceptionEventArgs : EventArgs
     {

+ 4 - 4
Renci.SshClient/Renci.SshNet/ForwardedPort.cs

@@ -1,7 +1,7 @@
 using System;
-using Renci.SshClient.Common;
+using Renci.SshNet.Common;
 
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
     /// Base class for port forwarding functionality.
@@ -89,7 +89,7 @@ namespace Renci.SshClient
         }
 
         /// <summary>
-        /// Raises <see cref="Renci.SshClient.ForwardedPort.Exception"/> event.
+        /// Raises <see cref="Renci.SshNet.ForwardedPort.Exception"/> event.
         /// </summary>
         /// <param name="execption">The exception.</param>
         protected void RaiseExceptionEvent(Exception execption)
@@ -101,7 +101,7 @@ namespace Renci.SshClient
         }
 
         /// <summary>
-        /// Raises <see cref="Renci.SshClient.ForwardedPort.RequestReceived"/> event.
+        /// Raises <see cref="Renci.SshNet.ForwardedPort.RequestReceived"/> event.
         /// </summary>
         /// <param name="host">Request originator host.</param>
         /// <param name="port">Request originator port.</param>

+ 2 - 2
Renci.SshClient/Renci.SshNet/ForwardedPortLocal.cs

@@ -2,9 +2,9 @@
 using System.Net;
 using System.Net.Sockets;
 using System.Threading.Tasks;
-using Renci.SshClient.Channels;
+using Renci.SshNet.Channels;
 
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
     /// Provides functionality for local port forwarding

+ 6 - 6
Renci.SshClient/Renci.SshNet/ForwardedPortRemote.cs

@@ -1,13 +1,13 @@
 using System;
 using System.Threading;
 using System.Threading.Tasks;
-using Renci.SshClient.Channels;
-using Renci.SshClient.Messages.Connection;
-using Renci.SshClient.Common;
+using Renci.SshNet.Channels;
+using Renci.SshNet.Messages.Connection;
+using Renci.SshNet.Common;
 using System.Diagnostics;
 using System.Globalization;
 
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
     /// Provides functionality for remote port forwarding
@@ -38,7 +38,7 @@ namespace Renci.SshClient
             this.Session.ChannelOpenReceived += Session_ChannelOpening;
 
             //  Send global request to start direct tcpip
-            this.Session.SendMessage(new GlobalRequestMessage(GlobalRequestNames.TcpIpForward, true, this.BoundHost, this.BoundPort));
+            this.Session.SendMessage(new GlobalRequestMessage(GlobalRequestName.TcpIpForward, true, this.BoundHost, this.BoundPort));
 
             this.Session.WaitHandle(this._globalRequestResponse);
 
@@ -67,7 +67,7 @@ namespace Renci.SshClient
                 return;
 
             //  Send global request to cancel direct tcpip
-            this.Session.SendMessage(new GlobalRequestMessage(GlobalRequestNames.CancelTcpIpForward, true, this.BoundHost, this.BoundPort));
+            this.Session.SendMessage(new GlobalRequestMessage(GlobalRequestName.CancelTcpIpForward, true, this.BoundHost, this.BoundPort));
 
             this.Session.WaitHandle(this._globalRequestResponse);
 

+ 5 - 5
Renci.SshClient/Renci.SshNet/KeyboardInteractiveConnectionInfo.cs

@@ -3,12 +3,12 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.Threading;
-using Renci.SshClient.Messages.Authentication;
-using Renci.SshClient.Messages;
-using Renci.SshClient.Common;
+using Renci.SshNet.Messages.Authentication;
+using Renci.SshNet.Messages;
+using Renci.SshNet.Common;
 using System.Threading.Tasks;
 
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
     /// Provides connection information when keyboard interactive authentication method is used
@@ -57,7 +57,7 @@ namespace Renci.SshClient
         public KeyboardInteractiveConnectionInfo(string host, int port, string username)
             : base(host, port, username)
         {
-            this._requestMessage = new RequestMessageKeyboardInteractive(ServiceNames.Connection, username);
+            this._requestMessage = new RequestMessageKeyboardInteractive(ServiceName.Connection, username);
         }
 
         /// <summary>

+ 1 - 1
Renci.SshClient/Renci.SshNet/MessageEventArgs.cs

@@ -1,6 +1,6 @@
 using System;
 
-namespace Renci.SshClient
+namespace Renci.SshNet
 {
     /// <summary>
     /// Provides data for message events.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Authentication/BannerMessage.cs

@@ -1,6 +1,6 @@
 using System.Text;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents SSH_MSG_USERAUTH_BANNER message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Authentication/FailureMessage.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents SSH_MSG_USERAUTH_FAILURE message.

+ 2 - 2
Renci.SshClient/Renci.SshNet/Messages/Authentication/InformationRequestMessage.cs

@@ -1,9 +1,9 @@
 using System;
 using System.Linq;
 using System.Collections.Generic;
-using Renci.SshClient.Common;
+using Renci.SshNet.Common;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents SSH_MSG_USERAUTH_INFO_REQUEST message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Authentication/InformationResponseMessage.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents SSH_MSG_USERAUTH_INFO_RESPONSE message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Authentication/PasswordChangeRequiredMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents SSH_MSG_USERAUTH_PASSWD_CHANGEREQ message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Authentication/PublicKeyMessage.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents SSH_MSG_USERAUTH_PK_OK message.

+ 5 - 5
Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessage.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Text;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents SSH_MSG_USERAUTH_REQUEST message. Server as a base message for other user authentication requests.
@@ -20,7 +20,7 @@ namespace Renci.SshClient.Messages.Authentication
         /// <value>
         /// The name of the service.
         /// </value>
-        public ServiceNames ServiceName { get; private set; }
+        public ServiceName ServiceName { get; private set; }
 
         /// <summary>
         /// Gets the name of the authentication method.
@@ -35,7 +35,7 @@ namespace Renci.SshClient.Messages.Authentication
         /// </summary>
         /// <param name="serviceName">Name of the service.</param>
         /// <param name="username">Authentication username.</param>
-        public RequestMessage(ServiceNames serviceName, string username)
+        public RequestMessage(ServiceName serviceName, string username)
         {
             this.ServiceName = serviceName;
             this.Username = username;
@@ -57,10 +57,10 @@ namespace Renci.SshClient.Messages.Authentication
             this.Write(this.Username, Encoding.UTF8);
             switch (this.ServiceName)
             {
-                case ServiceNames.UserAuthentication:
+                case ServiceName.UserAuthentication:
                     this.Write("ssh-userauth", Encoding.UTF8);
                     break;
-                case ServiceNames.Connection:
+                case ServiceName.Connection:
                     this.Write("ssh-connection", Encoding.UTF8);
                     break;
                 default:

+ 2 - 2
Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessageHost.cs

@@ -1,6 +1,6 @@
 using System.Text;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents "hostbased" SSH_MSG_USERAUTH_REQUEST message.
@@ -67,7 +67,7 @@ namespace Renci.SshClient.Messages.Authentication
         /// <param name="publicHostKey">The public host key.</param>
         /// <param name="clientHostName">Name of the client host.</param>
         /// <param name="clientUsername">The client username.</param>
-        public RequestMessageHost(ServiceNames serviceName, string username, string publicKeyAlgorithm, byte[] publicHostKey, string clientHostName, string clientUsername)
+        public RequestMessageHost(ServiceName serviceName, string username, string publicKeyAlgorithm, byte[] publicHostKey, string clientHostName, string clientUsername)
             : base(serviceName, username)
         {
             this.PublicKeyAlgorithm = publicKeyAlgorithm;

+ 2 - 2
Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessageKeyboardInteractive.cs

@@ -1,6 +1,6 @@
 using System.Text;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents "keyboard-interactive" SSH_MSG_USERAUTH_REQUEST message.
@@ -36,7 +36,7 @@ namespace Renci.SshClient.Messages.Authentication
         /// </summary>
         /// <param name="serviceName">Name of the service.</param>
         /// <param name="username">Authentication username.</param>
-        public RequestMessageKeyboardInteractive(ServiceNames serviceName, string username)
+        public RequestMessageKeyboardInteractive(ServiceName serviceName, string username)
             : base(serviceName, username)
         {
             this.Language = string.Empty;

+ 2 - 2
Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessageNone.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents "none" SSH_MSG_USERAUTH_REQUEST message.
@@ -29,7 +29,7 @@ namespace Renci.SshClient.Messages.Authentication
         /// </summary>
         /// <param name="serviceName">Name of the service.</param>
         /// <param name="username">Authentication username.</param>
-        public RequestMessageNone(ServiceNames serviceName, string username)
+        public RequestMessageNone(ServiceName serviceName, string username)
             : base(serviceName, username)
         {
         }

+ 3 - 3
Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessagePassword.cs

@@ -1,6 +1,6 @@
 using System.Text;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents "password" SSH_MSG_USERAUTH_REQUEST message.
@@ -37,7 +37,7 @@ namespace Renci.SshClient.Messages.Authentication
         /// <param name="serviceName">Name of the service.</param>
         /// <param name="username">Authentication username.</param>
         /// <param name="password">Authentication password.</param>
-        public RequestMessagePassword(ServiceNames serviceName, string username, string password)
+        public RequestMessagePassword(ServiceName serviceName, string username, string password)
             : base(serviceName, username)
         {
             this.Password = password ?? string.Empty;
@@ -50,7 +50,7 @@ namespace Renci.SshClient.Messages.Authentication
         /// <param name="username">Authentication username.</param>
         /// <param name="password">Authentication password.</param>
         /// <param name="newPassword">New authentication password.</param>
-        public RequestMessagePassword(ServiceNames serviceName, string username, string password, string newPassword)
+        public RequestMessagePassword(ServiceName serviceName, string username, string password, string newPassword)
             : this(serviceName, username, password)
         {
             this.NewPassword = newPassword ?? string.Empty;

+ 3 - 3
Renci.SshClient/Renci.SshNet/Messages/Authentication/RequestMessagePublicKey.cs

@@ -1,6 +1,6 @@
 using System.Collections.Generic;
 
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents "publickey" SSH_MSG_USERAUTH_REQUEST message.
@@ -49,7 +49,7 @@ namespace Renci.SshClient.Messages.Authentication
         /// <param name="username">Authentication username.</param>
         /// <param name="keyAlgorithmName">Name of private key algorithm.</param>
         /// <param name="keyData">Private key data.</param>
-        public RequestMessagePublicKey(ServiceNames serviceName, string username, string keyAlgorithmName, byte[] keyData)
+        public RequestMessagePublicKey(ServiceName serviceName, string username, string keyAlgorithmName, byte[] keyData)
             : base(serviceName, username)
         {
             this.PublicKeyAlgorithmName = keyAlgorithmName;
@@ -64,7 +64,7 @@ namespace Renci.SshClient.Messages.Authentication
         /// <param name="keyAlgorithmName">Name of private key algorithm.</param>
         /// <param name="keyData">Private key data.</param>
         /// <param name="signature">Private key signature.</param>
-        public RequestMessagePublicKey(ServiceNames serviceName, string username, string keyAlgorithmName, byte[] keyData, byte[] signature)
+        public RequestMessagePublicKey(ServiceName serviceName, string username, string keyAlgorithmName, byte[] keyData, byte[] signature)
             : this(serviceName, username, keyAlgorithmName, keyData)
         {
             this.Signature = signature;

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Authentication/SuccessMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Authentication
+namespace Renci.SshNet.Messages.Authentication
 {
     /// <summary>
     /// Represents SSH_MSG_USERAUTH_SUCCESS message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelCloseMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_CLOSE message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelDataMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_DATA message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelEofMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_EOF message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelExtendedDataMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_EXTENDED_DATA message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelFailureMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_FAILURE message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelMessage.cs

@@ -1,5 +1,5 @@
 using System.Globalization;
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Base class for all channel specific SSH messages.

+ 2 - 2
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/ChannelOpenInfo.cs

@@ -1,6 +1,6 @@
-using Renci.SshClient.Common;
+using Renci.SshNet.Common;
 
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Base class for open channel messages

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/ChannelOpenMessage.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Globalization;
 
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_OPEN message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/DirectTcpipChannelInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Used to open "direct-tcpip" channel type

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/ForwardedTcpipChannelInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Used to open "forwarded-tcpip" channel type

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/SessionChannelOpenInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Used to open "session" channel type

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpen/X11ChannelOpenInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Used to open "x11" channel type

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpenConfirmationMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_OPEN_CONFIRMATION message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpenFailureMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_OPEN_FAILURE message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelOpenFailureReasons.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// List channel open failure reasons defined by the protocol.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ChannelRequestMessage.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Globalization;
 
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_REQUEST message.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/EnvironmentVariableRequestInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "env" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ExecRequestInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "exec" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ExitSignalRequestInfo.cs

@@ -1,5 +1,5 @@
 using System.Text;
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "exit-signal" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ExitStatusRequestInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "exit-status" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/PseudoTerminalInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "pty-req" type channel request information

+ 2 - 2
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/RequestInfo.cs

@@ -1,6 +1,6 @@
-using Renci.SshClient.Common;
+using Renci.SshNet.Common;
 
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents type specific information for channel request.

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/ShellRequestInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "shell" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/SignalRequestInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "signal" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/SubsystemRequestInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "subsystem" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/WindowChangeRequestInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "window-change" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/X11ForwardingRequestInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "x11-req" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelRequest/XonXoffRequestInfo.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents "xon-xoff" type channel request information

+ 1 - 1
Renci.SshClient/Renci.SshNet/Messages/Connection/ChannelSuccessMessage.cs

@@ -1,4 +1,4 @@
-namespace Renci.SshClient.Messages.Connection
+namespace Renci.SshNet.Messages.Connection
 {
     /// <summary>
     /// Represents SSH_MSG_CHANNEL_SUCCESS message.

部分文件因为文件数量过多而无法显示