Share via


Equals Method (X509Certificate2)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Compares two X509Certificate2 objects for equality.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public Overridable Function Equals ( _
    other As X509Certificate2 _
) As Boolean
public virtual bool Equals(
    X509Certificate2 other
)
public:
virtual bool Equals(
    X509Certificate2^ other
)
abstract Equals : 
        other:X509Certificate2 -> bool 
override Equals : 
        other:X509Certificate2 -> bool 
public function Equals(
    other : X509Certificate2
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
true if the current X509Certificate2 object is equal to the object specified by the other parameter; otherwise, false.

.NET Framework Security

See Also

Reference

X509Certificate2 Class

Equals Overload

System.Security.Cryptography.X509Certificates Namespace