X509CertificateRecipientClientCredential.Authentication Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the settings used to validate the service certificate obtained using SSL authentication.
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
The settings used to validate the service certificate obtained using SSL authentication.
This code shows how to access this property.
public void snippet21(CalculatorClient cc)
{
X509CertificateRecipientClientCredential rcc = cc.ClientCredentials.ServiceCertificate;
X509ServiceCertificateAuthentication xauth = rcc.Authentication;
}
The X509ClientCertificateAuthentication class represents the settings used by the client proxy to authenticate service certificates that are obtained using SSL/TLS negotiation.
Prodotto | Versioni |
---|---|
.NET | Core 1.0, Core 1.1, 8 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: