KeyboardInteractiveAuthenticationMethod.NET40.cs 464 B

1234567891011121314151617
  1. using System;
  2. using System.Threading;
  3. namespace Renci.SshNet
  4. {
  5. public partial class KeyboardInteractiveAuthenticationMethod
  6. {
  7. /// <summary>
  8. /// Executes the specified action in a separate thread.
  9. /// </summary>
  10. /// <param name="action">The action to execute.</param>
  11. partial void ExecuteThread(Action action)
  12. {
  13. ThreadPool.QueueUserWorkItem(o => action());
  14. }
  15. }
  16. }