NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

X509Certificate.Equals

Compares two X509Certificate objects for equality.

[Visual Basic]
Overridable Public Function Equals( _
   ByVal other As X509Certificate _
) As Boolean
[C#]
public virtual bool Equals(
   X509Certificate other
);
[C++]
public: virtual bool Equals(
   X509Certificate* other
);
[JScript]
public function Equals(
   other : X509Certificate
) : Boolean;

Parameters

other
Another X509Certificate object to compare.

Return Value

True if the X509Certificate objects are equal, otherwise false.

Exceptions

Exception Type Condition
ArgumentException if other is not of the same X509Certificate type.

See Also

X509Certificate Class | X509Certificate Members | System.Security.Cryptography.X509Certificates Namespace