X509CertificateRecipientClientCredential.Authentication Propriété

Définition

Obtient les paramètres utilisés pour valider le certificat de service obtenu à l'aide de l'authentification SSL.

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

Valeur de propriété

X509ServiceCertificateAuthentication

Paramètres utilisés pour valider le certificat de service obtenu à l'aide de l'authentification SSL.

Exemples

Ce code montre comment accéder à cette propriété.

public void snippet21(CalculatorClient cc)
{
    X509CertificateRecipientClientCredential rcc = cc.ClientCredentials.ServiceCertificate;
    X509ServiceCertificateAuthentication xauth = rcc.Authentication;
}

Remarques

La classe X509ClientCertificateAuthentication représente les paramètres utilisés par le proxy client pour authentifier des certificats de service obtenus à l'aide de la négociation SSL/TLS.

S’applique à