diff --git a/Renci.SshClient/Renci.SshNet.NET35/KeyboardInteractiveAuthenticationMethod.NET35.cs b/Renci.SshClient/Renci.SshNet.NET35/KeyboardInteractiveAuthenticationMethod.NET35.cs new file mode 100644 index 00000000..02940143 --- /dev/null +++ b/Renci.SshClient/Renci.SshNet.NET35/KeyboardInteractiveAuthenticationMethod.NET35.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; + +namespace Renci.SshNet +{ + public partial class KeyboardInteractiveAuthenticationMethod + { + partial void ExecuteThread(Action action) + { + ThreadPool.QueueUserWorkItem((o) => { action(); }); + } + } +} diff --git a/Renci.SshClient/Renci.SshNet.NET35/PasswordAuthenticationMethod.NET35.cs b/Renci.SshClient/Renci.SshNet.NET35/PasswordAuthenticationMethod.NET35.cs new file mode 100644 index 00000000..08430fc8 --- /dev/null +++ b/Renci.SshClient/Renci.SshNet.NET35/PasswordAuthenticationMethod.NET35.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; + +namespace Renci.SshNet +{ + public partial class PasswordAuthenticationMethod + { + partial void ExecuteThread(Action action) + { + ThreadPool.QueueUserWorkItem((o) => { action(); }); + } + } +} diff --git a/Renci.SshClient/Renci.SshNet.NET35/Renci.SshNet.NET35.csproj b/Renci.SshClient/Renci.SshNet.NET35/Renci.SshNet.NET35.csproj index 820c5ed9..513abfcb 100644 --- a/Renci.SshClient/Renci.SshNet.NET35/Renci.SshNet.NET35.csproj +++ b/Renci.SshClient/Renci.SshNet.NET35/Renci.SshNet.NET35.csproj @@ -39,6 +39,12 @@ + + AuthenticationMethod.cs + + + AuthenticationResult.cs + BaseClient.cs @@ -237,6 +243,9 @@ ForwardedPortRemote.cs + + KeyboardInteractiveAuthenticationMethod.cs + KeyboardInteractiveConnectionInfo.cs @@ -456,12 +465,18 @@ Netconf\NetConfSession.cs - - NoneConnectionInfo.cs + + NoneAuthenticationMethod.cs + + + PasswordAuthenticationMethod.cs PasswordConnectionInfo.cs + + PrivateKeyAuthenticationMethod.cs + PrivateKeyConnectionInfo.cs @@ -752,8 +767,8 @@ - - + + @@ -763,7 +778,7 @@ - +