Redigera

Dela via


HashAlgorithmName.Equality(HashAlgorithmName, HashAlgorithmName) Operator

Definition

Determines whether two specified HashAlgorithmName objects are equal.

public:
 static bool operator ==(System::Security::Cryptography::HashAlgorithmName left, System::Security::Cryptography::HashAlgorithmName right);
public static bool operator == (System.Security.Cryptography.HashAlgorithmName left, System.Security.Cryptography.HashAlgorithmName right);
static member ( = ) : System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.HashAlgorithmName -> bool
Public Shared Operator == (left As HashAlgorithmName, right As HashAlgorithmName) As Boolean

Parameters

left
HashAlgorithmName

The first object to compare.

right
HashAlgorithmName

The second object to compare.

Returns

true if both left and right have the same Name value; otherwise, false.

Remarks

The Equality method defines the operation of the equality operator for HashAlgorithmName values.

Applies to