共用方式為


X509SecurityToken.Certificate 屬性

定義

取得與安全性權杖關聯的 X.509 憑證。

public:
 property System::Security::Cryptography::X509Certificates::X509Certificate2 ^ Certificate { System::Security::Cryptography::X509Certificates::X509Certificate2 ^ get(); };
public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get; }
member this.Certificate : System.Security.Cryptography.X509Certificates.X509Certificate2
Public ReadOnly Property Certificate As X509Certificate2

屬性值

包含 X.509 憑證的 X509Certificate2

備註

您可以使用 Certificate 屬性來取得與 X509SecurityToken 安全性權杖關聯之 X.509 憑證的詳細資料。 例如,可以使用 Thumbprint 屬性來存取 X.509 憑證的指紋。

適用於