CngProvider.Equality(CngProvider, CngProvider) 操作员

定义

确定两个 CngProvider 对象是否指定相同的密钥存储提供程序(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

参数

left
CngProvider

一个指定 KSP 的对象。

right
CngProvider

要与参数标识 left 的对象进行比较的第二个对象。

返回

true 如果两个对象表示相同的 KSP,则为否则,为 false.

适用于