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

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 IAsyncResult BeginExpect(TimeSpan timeout, int lookback, AsyncCallback callback, object state, ExpectAction[] expectActions)

public string EndExpect(IAsyncResult asyncResult)

public void Expect(ExpectAction[] expectActions)

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

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

public string Expect(string text)

public string Expect(string text, TimeSpan timeout, int lookback = -1)

public string Expect(Regex regex)

public string Expect(Regex regex, TimeSpan timeout, int lookback = -1)

public string Read()

public string ReadLine()

public string ReadLine(TimeSpan timeout)

public void Write(string text)

public void WriteLine(string line)