EasyUA Reference
DoesUrlMatchCertificate Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > Utils Class : DoesUrlMatchCertificate Method

certificate
The certificate.
endpointUrl
The endpoint url to verify.

Glossary Item Box

Checks that the domain in the URL provided matches one of the domains in the certificate.

Syntax

Visual Basic (Usage)Copy Code
Dim certificate As X509Certificate2
Dim endpointUrl As Uri
Dim value As Boolean
 
value = Utils.DoesUrlMatchCertificate(certificate, endpointUrl)
C# 
public static bool DoesUrlMatchCertificate( 
   X509Certificate2 certificate,
   Uri endpointUrl
)

Parameters

certificate
The certificate.
endpointUrl
The endpoint url to verify.

Return Value

True if the certificate matches the url.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.