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

HostKeyEventArgs

public class HostKeyEventArgs : EventArgs
Provides data for the HostKeyReceived event.
public bool CanTrust { get; set; }

Gets or sets a value indicating whether host key can be trusted.

public byte[] FingerPrint { get; }

Gets the finger print.

public byte[] HostKey { get; }

Gets the host key.

public string HostKeyName { get; }

Gets the host key name.

public int KeyLength { get; }

Gets the length of the key in bits.

Initializes a new instance of the HostKeyEventArgs class.