共用方式為


X509ThumbprintKeyIdentifierClause.Matches(X509Certificate2) 方法

定義

傳回值,這個值會指出這個執行個體的金鑰識別碼是否等於指定的 X.509 憑證指紋。

public:
 bool Matches(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public bool Matches (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
override this.Matches : System.Security.Cryptography.X509Certificates.X509Certificate2 -> bool
Public Function Matches (certificate As X509Certificate2) As Boolean

參數

certificate
X509Certificate2

X509Certificate2,其中包含要比較的 X.509 憑證。

傳回

如果 certificate 與目前執行個體有相同的指紋,則為 true,否則為 false

適用於