SecureBlackbox Lite 2020 .NET Edition

Questions / Feedback?

AuthFailed Event

Fires when a single authentication attempt is failed.

Syntax

public event OnAuthFailedHandler OnAuthFailed;

public delegate void OnAuthFailedHandler(object sender, SshclientAuthFailedEventArgs e);

public class SshclientAuthFailedEventArgs : EventArgs {
  public int AuthenticationType { get; }
}
Public Event OnAuthFailed As OnAuthFailedHandler

Public Delegate Sub OnAuthFailedHandler(sender As Object, e As SshclientAuthFailedEventArgs)

Public Class SshclientAuthFailedEventArgs Inherits EventArgs
  Public ReadOnly Property AuthenticationType As Integer
End Class

Remarks

This event is fired each time a single authentication attempt fails. AuthType parameter specifies the type of authentication.

As SSH may try a number of authentication attempts of different types or with different parameters (such as public keys) during one session, this event may be fired more than once. It is not critical and may not lead to closing of the connection.

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