ISessionProcess.cs 365 B

1234567891011121314151617
  1. using System;
  2. using System.Diagnostics;
  3. namespace WinSCP
  4. {
  5. internal interface ISessionProcess : IDisposable
  6. {
  7. event OutputDataReceivedEventHandler OutputDataReceived;
  8. bool HasExited { get; }
  9. int ExitCode { get; }
  10. void Start();
  11. void ExecuteCommand(string command);
  12. void Close();
  13. }
  14. }