X509ClientCertificateAuthentication.CertificateValidationMode Property


Gets or sets the certificate validation mode.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

member CertificateValidationMode : X509CertificateValidationMode with get, set

The following example uses the CertificateValidationMode to print to the screen.

No code example is currently available or this language may not be supported.

The property can also be set in a configuration file.

     <authentication certificateValidationMode='ChainTrust' />

.NET Framework
Available since 3.0
Return to top