CngProvider.Equality(CngProvider, CngProvider) 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定两个 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.