CookiePolicyOptions.ConsentCookie 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.
Gets or sets the CookieBuilder that is used to track if the user consented to the cookie use policy.
public:
 property Microsoft::AspNetCore::Http::CookieBuilder ^ ConsentCookie { Microsoft::AspNetCore::Http::CookieBuilder ^ get(); void set(Microsoft::AspNetCore::Http::CookieBuilder ^ value); };public Microsoft.AspNetCore.Http.CookieBuilder ConsentCookie { get; set; }member this.ConsentCookie : Microsoft.AspNetCore.Http.CookieBuilder with get, setPublic Property ConsentCookie As CookieBuilderProperty Value
Remarks
If an explicit Name is not provided, the system will automatically generate a unique name that begins with .AspNet.Consent.
-  IsEssential defaults to true.
- Expiration defaults to 365 days.