Share via


HttpSelfHostConfiguration.X509CertificateValidator Property

Gets or sets the X509CertificateValidatorinstance that will be used to validate the client certificate sent over HTTPS.

Namespace:  System.Web.Http.SelfHost
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

'Declaration
Public Property X509CertificateValidator As X509CertificateValidator 
    Get 
    Set
'Usage
Dim instance As HttpSelfHostConfiguration 
Dim value As X509CertificateValidator 

value = instance.X509CertificateValidator

instance.X509CertificateValidator = value
public X509CertificateValidator X509CertificateValidator { get; set; }
public:
property X509CertificateValidator^ X509CertificateValidator {
    X509CertificateValidator^ get ();
    void set (X509CertificateValidator^ value);
}
member X509CertificateValidator : X509CertificateValidator with get, set
function get X509CertificateValidator () : X509CertificateValidator 
function set X509CertificateValidator (value : X509CertificateValidator)

Property Value

Type: System.IdentityModel.Selectors.X509CertificateValidator
The X509CertificateValidatorinstance that will be used to validate the client certificate.

See Also

Reference

HttpSelfHostConfiguration Class

System.Web.Http.SelfHost Namespace