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" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNet.Cookies --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 992 7/11/2017