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 参数标识的对象进行比较的另一个对象。

返回

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

适用于