SecureBlackbox Lite 2020 .NET Edition

Questions / Feedback?

KnownKeyReceived Event

This event is fired when a known SSH key is received from the server.

Syntax

public event OnKnownKeyReceivedHandler OnKnownKeyReceived;

public delegate void OnKnownKeyReceivedHandler(object sender, SshclientKnownKeyReceivedEventArgs e);

public class SshclientKnownKeyReceivedEventArgs : EventArgs {
  public int Algorithm { get; }
  public int Bits { get; }
  public string FingerprintSHA256 { get; }
}
Public Event OnKnownKeyReceived As OnKnownKeyReceivedHandler

Public Delegate Sub OnKnownKeyReceivedHandler(sender As Object, e As SshclientKnownKeyReceivedEventArgs)

Public Class SshclientKnownKeyReceivedEventArgs Inherits EventArgs
  Public ReadOnly Property Algorithm As Integer
  Public ReadOnly Property Bits As Integer
  Public ReadOnly Property FingerprintSHA256 As String
End Class

Remarks

This event allows to check the fingerprint of the key received from the server, in case the key is in the list of known keys. Algorithm and Bits specify the key algorithm and the number of bits. FingerprintSHA256 contains the key's fingerprint.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 .NET Edition - Version 20.0 [Build 8166]