CngAlgorithm.Equals CngAlgorithm.Equals CngAlgorithm.Equals CngAlgorithm.Equals Method

Definition

Compares two CngAlgorithm objects.

Overloads

Equals(CngAlgorithm) Equals(CngAlgorithm) Equals(CngAlgorithm) Equals(CngAlgorithm)

Compares the specified CngAlgorithm object to the current CngAlgorithm object.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the specified object to the current CngAlgorithm object.

Equals(CngAlgorithm) Equals(CngAlgorithm) Equals(CngAlgorithm) Equals(CngAlgorithm)

Compares the specified CngAlgorithm object to the current CngAlgorithm object.

public:
 virtual bool Equals(System::Security::Cryptography::CngAlgorithm ^ other);
public bool Equals (System.Security.Cryptography.CngAlgorithm other);
override this.Equals : System.Security.Cryptography.CngAlgorithm -> bool
Public Function Equals (other As CngAlgorithm) As Boolean

Parameters

other
CngAlgorithm CngAlgorithm CngAlgorithm CngAlgorithm

An object to be compared to the current CngAlgorithm object.

Returns

true if the other parameter specifies the same algorithm as the current object; otherwise, false.

Implements

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the specified object to the current CngAlgorithm object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object Object Object Object

An object to be compared to the current CngAlgorithm object.

Returns

true if the obj parameter is a CngAlgorithm that specifies the same algorithm as the current object; otherwise, false.

Applies to