AntiforgeryOptions.CookieDomain AntiforgeryOptions.CookieDomain AntiforgeryOptions.CookieDomain Property

Definition

Warning

This API is now obsolete.

This property is obsolete and will be removed in a future version. The recommended alternative is on Cookie.

The domain set on the cookie. By default its null which results in the "domain" attribute not being set.

[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")]
public string CookieDomain { get; set; }
member this.CookieDomain : string with get, set
Public Property CookieDomain As String
Property Value

Applies to