SecureBlackbox 2020 .NET Edition

Questions / Feedback?

KnownKeyReceived Event

Signals that the server has introduced itself with a known key.

Syntax

public event OnKnownKeyReceivedHandler OnKnownKeyReceived;

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

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

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

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

Remarks

The component fires this event to tell the application that the server has introduced itself with a known key from TrustedKeysFile. The details of the key are provided.

Use ServerKey to access more key details.

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