CngAlgorithmGroup.Equality(CngAlgorithmGroup, CngAlgorithmGroup) 運算子

定義

判斷兩個 CngAlgorithmGroup 物件是否指定相同的演算法群組。

public static bool operator ==(System.Security.Cryptography.CngAlgorithmGroup? left, System.Security.Cryptography.CngAlgorithmGroup? right);
public static bool operator ==(System.Security.Cryptography.CngAlgorithmGroup left, System.Security.Cryptography.CngAlgorithmGroup right);

參數

left
CngAlgorithmGroup

指定演算法群組的物件。

right
CngAlgorithmGroup

另一個物件,要與 left 參數所識別的物件比較。

傳回

如果兩個物件指定相同的演算法群組,則為 true,否則為 false

適用於

產品 版本
.NET Core 1.0, Core 1.1, 6, 7, 8, 9, 10
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5