CngKeyBlobFormat.Equality(CngKeyBlobFormat, CngKeyBlobFormat) 操作员

定义

确定两个 CngKeyBlobFormat 对象是否指定了相同的密钥 BLOB 格式。

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

参数

left
CngKeyBlobFormat

一个指定密钥 BLOB 格式的对象。

right
CngKeyBlobFormat

第二个对象,该对象将与由 left 参数标识的对象进行比较。

返回

如果两个对象指定了相同的密钥 BLOB 格式,则为 true;否则为 false

适用于