WebTestRequest.ClientCertificates 属性

获取或设置一个引用,以允许用户使用 X.509 SSL 证书进行身份验证。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Property ClientCertificates As X509CertificateCollection
public X509CertificateCollection ClientCertificates { get; set; }
public:
property X509CertificateCollection^ ClientCertificates {
    X509CertificateCollection^ get ();
    void set (X509CertificateCollection^ value);
}
member ClientCertificates : X509CertificateCollection with get, set
function get ClientCertificates () : X509CertificateCollection
function set ClientCertificates (value : X509CertificateCollection)

属性值

类型:System.Security.Cryptography.X509Certificates.X509CertificateCollection
一个 X509CertificateCollection 集合。

.NET Framework 安全性

请参见

参考

WebTestRequest 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间