TLSShutdown Event
Reports closure of a TLS session.
Syntax
public event OnTLSShutdownHandler OnTLSShutdown; public delegate void OnTLSShutdownHandler(object sender, DtlsserverTLSShutdownEventArgs e); public class DtlsserverTLSShutdownEventArgs : EventArgs { public long ConnectionID { get; } }
Public Event OnTLSShutdown As OnTLSShutdownHandler Public Delegate Sub OnTLSShutdownHandler(sender As Object, e As DtlsserverTLSShutdownEventArgs) Public Class DtlsserverTLSShutdownEventArgs Inherits EventArgs Public ReadOnly Property ConnectionID As Long End Class
Remarks
The component fires this event when a connected client closes their TLS session gracefully. This event is typically followed by a Disconnect, which marks the closure of the underlying TCP session.