CngAlgorithm.Equality(CngAlgorithm, CngAlgorithm) 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定两个 CngAlgorithm 对象是否指定相同的算法名称。
public:
static bool operator ==(System::Security::Cryptography::CngAlgorithm ^ left, System::Security::Cryptography::CngAlgorithm ^ right);
public static bool operator ==(System.Security.Cryptography.CngAlgorithm? left, System.Security.Cryptography.CngAlgorithm? right);
public static bool operator ==(System.Security.Cryptography.CngAlgorithm left, System.Security.Cryptography.CngAlgorithm right);
static member ( = ) : System.Security.Cryptography.CngAlgorithm * System.Security.Cryptography.CngAlgorithm -> bool
Public Shared Operator == (left As CngAlgorithm, right As CngAlgorithm) As Boolean
参数
- left
- CngAlgorithm
一个指定算法名称的对象。
- right
- CngAlgorithm
要与参数标识 left 的对象进行比较的第二个对象。
返回
true 如果两个对象指定相同的算法名称,则为否则,为 false.