Checks if two certificates are equal.
Namespace: Nehta.VendorLibrary.CommonAssembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static bool AreEqual( X509Certificate2 cert1, X509Certificate2 cert2 ) |
Visual Basic |
---|
Public Shared Function AreEqual ( _ cert1 As X509Certificate2, _ cert2 As X509Certificate2 _ ) As Boolean |
Visual C++ |
---|
public: static bool AreEqual( X509Certificate2^ cert1, X509Certificate2^ cert2 ) |
Parameters
- cert1
- Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2
Certificate 1.
- cert2
- Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2
Certificate 2.