<PackageReference Include="SSH.NET" Version="2013.1.8" />

ShellStream

public class ShellStream : Stream
public bool DataAvailable { get; }

public IAsyncResult BeginExpect(ExpectAction[] expectActions)

public IAsyncResult BeginExpect(AsyncCallback callback, ExpectAction[] expectActions)

public IAsyncResult BeginExpect(AsyncCallback callback, object state, ExpectAction[] expectActions)

public IAsyncResult BeginExpect(TimeSpan timeout, AsyncCallback callback, object state, ExpectAction[] expectActions)

public void EndExpect(IAsyncResult asyncResult)

public void Expect(ExpectAction[] expectActions)

public void Expect(TimeSpan timeout, ExpectAction[] expectActions)

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 Read()

public string ReadLine()

public string ReadLine(TimeSpan timeout)

protected void WaitHandle(WaitHandle waitHandle)

public void Write(string text)

public void WriteLine(string line)