Condividi tramite


ICookieManager.GetRequestCookie(HttpContext, String) Metodo

Definizione

Recuperare un cookie con il nome specificato dalla richiesta.

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

Parametri

context
HttpContext
key
String

Restituisce

Si applica a