AoCHelper.Net 2.0.0

.NET 5.0 .NET Standard 2.1
dotnet add package AoCHelper.Net --version 2.0.0
NuGet\Install-Package AoCHelper.Net -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AoCHelper.Net" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AoCHelper.Net --version 2.0.0
#r "nuget: AoCHelper.Net, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AoCHelper.Net as a Cake Addin
#addin nuget:?package=AoCHelper.Net&version=2.0.0

// Install AoCHelper.Net as a Cake Tool
#tool nuget:?package=AoCHelper.Net&version=2.0.0

AoCHelper.Net

Helpers for Advent of Code in C#.

publish to nuget NuGet

Usage

To get your session secret press F12 while you are logged in on adventofcode.com to open the developer tools of your browser. Then open the Application Tab on Chromium Browsers or Storage on firefox. There you can have a look at your cookies and copy the session id. You need to provide this session id as parameter for the InputDownloader instance.

Example:

string sessionId = "53418d7865....";
var downloader = new InputDownloader(sessionId);

var input = await downloader.GetInput(1, 2021);
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • 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.

Version Downloads Last updated
2.0.0 473 12/6/2021
1.0.6 180 12/5/2021
1.0.5 177 12/5/2021
1.0.4 188 12/5/2021
1.0.3 188 12/5/2021
1.0.1 188 12/3/2021
1.0.0 226 12/3/2021