Table of Contents

Method SendLineAsync

Namespace
SshSharp
Assembly
SshSharp.dll

SendLineAsync(string, CancellationToken)

Sends line followed by NewLine, as typing it and pressing Enter does.

public Task SendLineAsync(string line, CancellationToken cancellationToken = default)

Parameters

line string
cancellationToken CancellationToken

Returns

Task