HstsOptions.MaxAge Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the max-age parameter of the Strict-Transport-Security header.
public:
property TimeSpan MaxAge { TimeSpan get(); void set(TimeSpan value); };
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
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: