SecureBlackbox 2020 .NET Edition

Questions / Feedback?

Connect Event

This event is fired when a remote connection has been established.

Syntax

public event OnConnectHandler OnConnect;

public delegate void OnConnectHandler(object sender, SftpserverConnectEventArgs e);

public class SftpserverConnectEventArgs : EventArgs {
  public long ConnectionID { get; }
  public string RemoteAddress { get; }
  public int RemotePort { get; }
}
Public Event OnConnect As OnConnectHandler

Public Delegate Sub OnConnectHandler(sender As Object, e As SftpserverConnectEventArgs)

Public Class SftpserverConnectEventArgs Inherits EventArgs
  Public ReadOnly Property ConnectionID As Long
  Public ReadOnly Property RemoteAddress As String
  Public ReadOnly Property RemotePort As Integer
End Class

Remarks

ConnectionID contains a session identifier, and RemoteAddress specifies the client's IP address.

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