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