DotNet.Cookies
1.0.0
This client library allow to manage cookies: Get, Set, Remove.
Easy to use:
CookiesHelper.SetCookie("keyValue", "exampleValue", DateTime.Now.AddDays(30));
var value = CookiesHelper.GetCookieValue("keyValue");
Available basic methods:
public static string GetCookieValue(string key)
public static void SetCookie(string key, string value, DateTime expires)
Available methods:
public static string GetCookieValue(string key)
public static Dictionary<string, string> GetAllCookiesKeyAndValue()
public static HttpCookie GetCookie(string key)
public static Dictionary<string, HttpCookie> GetAllCookiesDictionary()
public static List<HttpCookie> GetAllCookies()
public static void SetCookie(string key, string value, DateTime expires)
public static void RemoveCookie(string key)
public static void RemoveAllCookies()
Install-Package DotNet.Cookies -Version 1.0.0
dotnet add package DotNet.Cookies --version 1.0.0
<PackageReference Include="DotNet.Cookies" Version="1.0.0" />
paket add DotNet.Cookies --version 1.0.0
Dependencies
This package has no dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 2,824 | 7/11/2017 |