Equality Operator
Collapse the table of content
Expand the table of content

CngProvider.Equality Operator (CngProvider, CngProvider)


Determines whether two CngProvider objects specify the same key storage provider (KSP).

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

public static bool operator ==(
	CngProvider left,
	CngProvider right


Type: System.Security.Cryptography.CngProvider

An object that specifies a KSP.

Type: System.Security.Cryptography.CngProvider

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

Return Value

Type: System.Boolean

true if the two objects represent the same KSP; otherwise, false.

Universal Windows Platform
Available since 10
.NET Framework
Available since 3.5
Return to top
© 2015 Microsoft