共用方式為


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

適用於