HttpClientHandler.ClientCertificates 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與伺服器要求相關聯的安全性憑證集合。
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 憑證上的密鑰使用屬性,才能在傳送要求時使用「數位簽名」值。