X509CertificateInitiatorServiceCredential.Authentication 属性

定义

获取用于验证在身份验证期间客户端所出示的证书的设置。Gets the settings used to validate the certificate presented by the client during authentication.

public:
 property System::ServiceModel::Security::X509ClientCertificateAuthentication ^ Authentication { System::ServiceModel::Security::X509ClientCertificateAuthentication ^ get(); };
public System.ServiceModel.Security.X509ClientCertificateAuthentication Authentication { get; }
member this.Authentication : System.ServiceModel.Security.X509ClientCertificateAuthentication
Public ReadOnly Property Authentication As X509ClientCertificateAuthentication

属性值

X509ClientCertificateAuthentication

在身份验证期间用于验证客户端所出示的证书的设置。The settings used to validate the certificate presented by the client during authentication.

示例

下面的代码演示如何使用此属性设置证书身份验证属性。The following code shows how to use this property to set the certificate authentication properties.

适用于