CngProperty.Equality(CngProperty, CngProperty) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).