CertificateValidate Event
Fires when a client certificate needs to be validated.
Syntax
public event OnCertificateValidateHandler OnCertificateValidate; public delegate void OnCertificateValidateHandler(object sender, TspserverCertificateValidateEventArgs e); public class TspserverCertificateValidateEventArgs : EventArgs { public long ConnectionID { get; } public bool Accept { get; set; } }
Public Event OnCertificateValidate As OnCertificateValidateHandler Public Delegate Sub OnCertificateValidateHandler(sender As Object, e As TspserverCertificateValidateEventArgs) Public Class TspserverCertificateValidateEventArgs Inherits EventArgs Public ReadOnly Property ConnectionID As Long Public Property Accept As Boolean End Class
Remarks
The component fires this event to notify the application of an authenticating client. Use the event handler to validate the certificate and pass your decision back to the server component via the Accept parameter.