CngProvider.Equality(CngProvider, CngProvider) Operator

Definition

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

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

Parameters

left
CngProvider

An object that specifies a KSP.

right
CngProvider

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

Returns

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

Applies to