QuickOPC User's Guide and Reference
ValidateRemoteCertificate Event (ICertificateSecurityHandler)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security Namespace > ICertificateSecurityHandler Interface : ValidateRemoteCertificate Event
Raised to verify the remote certificate used for authentication.
Syntax
'Declaration
 
Event ValidateRemoteCertificate As ValidateCertificateEventHandler
'Usage
 
Dim instance As ICertificateSecurityHandler
Dim handler As ValidateCertificateEventHandler
 
AddHandler instance.ValidateRemoteCertificate, handler
event ValidateCertificateEventHandler ValidateRemoteCertificate
event ValidateCertificateEventHandler^ ValidateRemoteCertificate
Event Data

The event handler receives an argument of type ValidateCertificateEventArgs containing data related to this event. The following ValidateCertificateEventArgs properties provide information specific to this event.

PropertyDescription
The certificate to be validated.  
The chain of certificate authorities associated with the certificate to be validated.  
An object that contains state information for this validation.  
The target object for which the validation is being performed.  
Errors associated with the certificate to be validated.  
Determines whether the specified certificate is accepted for authentication.  
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also