HstsOptions.MaxAge HstsOptions.MaxAge HstsOptions.MaxAge Property

Definition

Sets the max-age parameter of the Strict-Transport-Security header.

public TimeSpan MaxAge { get; set; }
member this.MaxAge : TimeSpan with get, set
Public Property MaxAge As TimeSpan

Property Value

Remarks

Max-age is required; defaults to 30 days.

See: https://tools.ietf.org/html/rfc6797#section-6.1.1

Applies to