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

SshIdentification

public sealed class SshIdentification
Represents an SSH identification.
public string Comments { get; }

Gets the comments.

public string ProtocolVersion { get; }

Gets the SSH protocol version.

public string SoftwareVersion { get; }

Gets the software version of the implementation.

public SshIdentification(string protocolVersion, string softwareVersion)

Initializes a new instance of the SshIdentification class with the specified protocol version and software version.

public SshIdentification(string protocolVersion, string softwareVersion, string comments)

Initializes a new instance of the SshIdentification class with the specified protocol version, software version and comments.