System.Security.Cryptography.X509Certificates.X509Certificate.Equals Method

Compares two System.Security.Cryptography.X509Certificates.X509Certificate objects for equality.

Syntax

public virtual bool Equals (X509Certificate other)

Parameters

other
An System.Security.Cryptography.X509Certificates.X509Certificate object to compare to the current object.

Returns

true if the current System.Security.Cryptography.X509Certificates.X509Certificate object is equal to the object specified by the other parameter; otherwise, false.

Remarks

Two System.Security.Cryptography.X509Certificates.X509Certificate objects are considered equal if they have the same issuer and serial number.

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0