ISessionProcess.cs 338 B

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