共用方式為


HttpClientHandler.ClientCertificates 屬性

定義

取得與伺服器要求相關聯的安全性憑證集合。

public:
 property System::Security::Cryptography::X509Certificates::X509CertificateCollection ^ ClientCertificates { System::Security::Cryptography::X509Certificates::X509CertificateCollection ^ get(); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get; }
public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.ClientCertificates : System.Security.Cryptography.X509Certificates.X509CertificateCollection
member this.ClientCertificates : System.Security.Cryptography.X509Certificates.X509CertificateCollection
Public ReadOnly Property ClientCertificates As X509CertificateCollection

屬性值

執行憑證式客戶端驗證時提供給伺服器的 X509CertificateCollection。

屬性

備註

在 .NET Core 上,如果存在,則需要 X509 憑證上的密鑰使用屬性,才能在傳送要求時使用「數位簽名」值。

適用於