Share via


HttpsCert Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the certificate that is used, if HttpListener implements an HTTPS server.

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Public Property HttpsCert As X509Certificate
public X509Certificate HttpsCert { get; set; }
public:
property X509Certificate^ HttpsCert {
    X509Certificate^ get ();
    void set (X509Certificate^ value);
}
member HttpsCert : X509Certificate with get, set
function get HttpsCert () : X509Certificate
function set HttpsCert (value : X509Certificate)

Property Value

Type: System.Security.Cryptography.X509Certificates. . :: . .X509Certificate
The X509 certificate.

.NET Framework Security

See Also

Reference

HttpListener Class

System.Net Namespace