Interface ISshSessionEvent
Provides metadata for SSH session lifecycle and negotiation events.
Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions.Models
Assembly: ApacheMinaSSHD.NET.Wrapper.dll
Syntax
public interface ISshSessionEvent
Properties
| Edit this page View SourceClientProposal
Gets the client algorithm proposal when available.
Declaration
IReadOnlyDictionary<string, string> ClientProposal { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, string> |
EventName
Gets the event name when available.
Declaration
string? EventName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Exception
Gets the exception associated with the event when available.
Declaration
Exception? Exception { get; }
Property Value
| Type | Description |
|---|---|
| Exception |
ExtraLines
Gets extra peer identification lines when available.
Declaration
IReadOnlyList<string> ExtraLines { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Initiator
Gets whether the local side initiated the event when available.
Declaration
bool? Initiator { get; }
Property Value
| Type | Description |
|---|---|
| bool? |
Language
Gets the language tag associated with the event message when available.
Declaration
string? Language { get; }
Property Value
| Type | Description |
|---|---|
| string |
Message
Gets the event message when available.
Declaration
string? Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
NegotiatedOptions
Gets negotiated algorithm options when available.
Declaration
IReadOnlyDictionary<string, string> NegotiatedOptions { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, string> |
Proposal
Gets a generic proposal map when available.
Declaration
IReadOnlyDictionary<string, string> Proposal { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, string> |
Reason
Gets the disconnect or event reason code when available.
Declaration
int? Reason { get; }
Property Value
| Type | Description |
|---|---|
| int? |
ServerProposal
Gets the server algorithm proposal when available.
Declaration
IReadOnlyDictionary<string, string> ServerProposal { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, string> |
Session
Gets the session associated with the event.
Declaration
ISshSession Session { get; }
Property Value
| Type | Description |
|---|---|
| ISshSession |
Version
Gets the peer identification version string when available.
Declaration
string? Version { get; }
Property Value
| Type | Description |
|---|---|
| string |