Example #1
0
 public void StopWindowsOpenSshPipe()
 {
     if (disposed)
     {
         throw new ObjectDisposedException(null);
     }
     if (opensshPipe == null)
     {
         return;
     }
     opensshPipe.Dispose();
     opensshPipe = null;
 }
Example #2
0
 public void StartWindowsOpenSshPipe()
 {
     if (disposed)
     {
         throw new ObjectDisposedException(null);
     }
     if (opensshPipe != null)
     {
         return;
     }
     opensshPipe = new WindowsOpenSshPipe();
     opensshPipe.ConnectionHandler = connectionHandler;
 }