Share via


HttpRequestContext.ClientCertificate Property

 

Gets or sets the client certificate.

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

Syntax

public virtual X509Certificate2 ClientCertificate {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property X509Certificate2^ ClientCertificate {
    [CompilerGeneratedAttribute]
    virtual X509Certificate2^ get();
    [CompilerGeneratedAttribute]
    virtual void set(X509Certificate2^ value);
}
abstract ClientCertificate : X509Certificate2 with get, set
override ClientCertificate : X509Certificate2 with get, set
Public Overridable Property ClientCertificate As X509Certificate2

Property Value

Type: System.Security.Cryptography.X509Certificates.X509Certificate2

Returns X509Certificate2.

See Also

HttpRequestContext Class
System.Web.Http.Controllers Namespace

Return to top