Edit

Share via


CngProperty.Equality(CngProperty, CngProperty) Operator

Definition

Determines whether two CngProperty objects specify the same property name, value, and options.

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

Parameters

left
CngProperty

An object that specifies a property of a Cryptography Next Generation (CNG) key or provider.

right
CngProperty

A second object, to be compared to the object that is identified by the left parameter.

Returns

true if the two objects specify the same property; otherwise, false.

Remarks

CngProperty objects are considered equal if their names, values, and options are equivalent. Name comparison is performed in a case-sensitive manner.

The equivalent method for this operator is CngProperty.Equals(CngProperty).

Applies to