Table of Contents

Method QueryExtensionsAsync

Namespace
SshSharp
Assembly
SshSharp.dll

QueryExtensionsAsync(CancellationToken)

The protocol extensions the agent supports (RFC 9987's query extension), for example session-bind@openssh.com. An agent that does not implement query yields an empty list.

public Task<IReadOnlyList<string>> QueryExtensionsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<IReadOnlyList<string>>

Exceptions

SshException

The agent is not running or sent a malformed reply (AgentFailed).