CngProperty.Equals Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Compares the specified object to the current CngProperty object.

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

public override bool Equals(
	object obj


Type: System.Object

An object to be compared to the current CngProperty object.

Return Value

Type: System.Boolean

true if the obj parameter is a CngProperty object that specifies 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