AntiforgeryOptions.CookieName Свойство

Определение

Внимание!

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

Это свойство устарело и будет удалено в следующей версии. Рекомендуемый вариант — в Cookie.

Указывает имя файла cookie, используемого системой защиты от подделки.

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

Значение свойства

Атрибуты

Комментарии

Если явное имя не указано, система автоматически создаст уникальное имя, начинающееся с DefaultCookiePrefix.

Применяется к