'Declaration
Public Shared Function DoesUrlMatchCertificate( _ ByVal certificate As X509Certificate2, _ ByVal endpointUrl As Uri _ ) As Boolean
'Usage
Dim certificate As X509Certificate2 Dim endpointUrl As Uri Dim value As Boolean value = X509Utils.DoesUrlMatchCertificate(certificate, endpointUrl)
public static bool DoesUrlMatchCertificate( X509Certificate2 certificate, Uri endpointUrl )
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.