Compartir a través de


AntiforgeryOptions.CookieName Propiedad

Definición

Precaución

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

Esta propiedad está obsoleta y se quitará en una versión futura. La alternativa recomendada es en Cookie.

Especifica el nombre de la cookie que usa el sistema antiforgery.

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

Valor de propiedad

Atributos

Comentarios

Si no se proporciona un nombre explícito, el sistema generará automáticamente un nombre único que comience por DefaultCookiePrefix.

Se aplica a