X509CertificateRecipientClientCredential.Authentication Egenskap

Definition

Hämtar de inställningar som används för att verifiera tjänstcertifikatet som erhållits med hjälp av SSL-autentisering.

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

Egenskapsvärde

De inställningar som används för att verifiera tjänstcertifikatet som erhållits med hjälp av SSL-autentisering.

Exempel

Den här koden visar hur du kommer åt den här egenskapen.

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

Kommentarer

Klassen X509ClientCertificateAuthentication representerar de inställningar som används av klientproxyn för att autentisera tjänstcertifikat som hämtas med hjälp av SSL/TLS-förhandling.

Gäller för