NETBinaryCookie 1.0.0
See the version list below for details.
dotnet add package NETBinaryCookie --version 1.0.0
NuGet\Install-Package NETBinaryCookie -Version 1.0.0
<PackageReference Include="NETBinaryCookie" Version="1.0.0" />
paket add NETBinaryCookie --version 1.0.0
#r "nuget: NETBinaryCookie, 1.0.0"
// Install NETBinaryCookie as a Cake Addin #addin nuget:?package=NETBinaryCookie&version=1.0.0 // Install NETBinaryCookie as a Cake Tool #tool nuget:?package=NETBinaryCookie&version=1.0.0
NETBinaryCookie
A simple, independent Apple binarycookies format read-write package for .NET projects.
Supports reading and parsing lists of cookies from an input binarycookies file or stream otherwise. Does not yet support writing modified lists of cookies back to disk.
Dependencies
The dependency graph for this package is kept intentionally minimal, and concerted effort has been made to keep it dependency-free.
Feedback
Please submit any bug reports, feature requests, or other concerns on the project's GitHub page.
To send appreciation, feel free to send me a direct email: github@xmit.xyz
Example Usage
Below demonstrates a very rudimentary usage of the read functions within this package.
At some later time, the to-be-implemented write functions will make modifying saved cookie stores much more viable.
using NETBinaryCookie;
// ...
var cookieJar = NETBinaryCookie.ReadFromFile(@"/Users/myuser/Documents/Cookies.binarycookies");
var mySpecificCookies = cookieJar.GetCookies(
cookie => cookie.Domain.ToLower().Contains("github."));
// ...
var cookiesAfterChristmas = cookieJar.GetCookies(
cookie => cookie.Creation > new DateTime(2023, 12, 25));
foreach (var cookie in cookiesAfterChristmas)
{
Console.WriteLine(cookie);
}
// ...
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Supports reading and parsing lists of cookies from an input binarycookie file or stream otherwise. Does not yet support writing modified lists of cookies back to disk.