Compartir a través de


ICookieManager.GetRequestCookie(HttpContext, String) Método

Definición

Recupere una cookie del nombre especificado de la solicitud.

public:
 System::String ^ GetRequestCookie(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ key);
public string GetRequestCookie (Microsoft.AspNetCore.Http.HttpContext context, string key);
public string? GetRequestCookie (Microsoft.AspNetCore.Http.HttpContext context, string key);
abstract member GetRequestCookie : Microsoft.AspNetCore.Http.HttpContext * string -> string
Public Function GetRequestCookie (context As HttpContext, key As String) As String

Parámetros

context
HttpContext
key
String

Devoluciones

Se aplica a