CngProperty.Equals Method (CngProperty)


Compares the specified CngProperty object to the current CngProperty object.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public bool Equals(
	CngProperty other


Type: System.Security.Cryptography.CngProperty

An object to be compared to the current CngProperty object.

Return Value

Type: System.Boolean

true if the other parameter represents the same property as the current object; otherwise, false.

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

.NET Framework
Available since 3.5
Return to top