2
0

PasswordAuthenticationMethod.NET40.cs 398 B

1234567891011121314
  1. using System;
  2. using System.Threading;
  3. namespace Renci.SshNet
  4. {
  5. public partial class PasswordAuthenticationMethod : AuthenticationMethod
  6. {
  7. /// <exception cref="ArgumentNullException"><paramref name="action"/> is null.</exception>
  8. partial void ExecuteThread(Action action)
  9. {
  10. ThreadPool.QueueUserWorkItem(o => action());
  11. }
  12. }
  13. }