Renci.SshNet.ShellStream
Contains operation for working with SSH Shell.
namespace Renci.SshNet
{
public class ShellStream : Stream
{
public bool DataAvailable { get; }
public event EventHandler<ShellDataEventArgs> DataReceived;
public event EventHandler<ExceptionEventArgs> ErrorOccurred;
public void Expect(params ExpectAction[] expectActions);
public void Expect(TimeSpan timeout, params ExpectAction[] expectActions);
public IAsyncResult BeginExpect(params ExpectAction[] expectActions);
public IAsyncResult BeginExpect(AsyncCallback callback, params ExpectAction[] expectActions);
public IAsyncResult BeginExpect(AsyncCallback callback, object state, params ExpectAction[] expectActions);
public IAsyncResult BeginExpect(TimeSpan timeout, AsyncCallback callback, object state, params ExpectAction[] expectActions);
public string EndExpect(IAsyncResult asyncResult);
public string Expect(string text);
public string Expect(string text, TimeSpan timeout);
public string Expect(Regex regex);
public string Expect(Regex regex, TimeSpan timeout);
public string ReadLine();
public string ReadLine(TimeSpan timeout);
public string Read();
public void Write(string text);
public void WriteLine(string line);
}
}