Installation
Less than 1 minute
YouTubeSessionGenerator is available as a NuGet package and can be easily added to your .NET project.
.NET CLI
dotnet add package YouTubeSessionGenerator
Package Manager
NuGet\Install-Package YouTubeSessionGenerator
PackageReference
<PackageReference Include="YouTubeSessionGenerator" Version="X.X.X" />
Prerequisites
- .NET 9.0 or later
- Proof of Origin Token generation requires a JavaScript environment. The built-in
NodeEnvironment
supports Windows, Linux & macOS, but you can plug in your own if needed. Learn more here.
Optional: Build from Source
If you want to build the library from source instead of using the precompiled binaries or NuGet package, follow these steps:
1. Clone the repository
git clone https://github.com/IcySnex/YouTubeSessionGenerator.git
cd YouTubeSessionGenerator
2. Restore dependencies
dotnet restore
3. Build the library
dotnet build -c Release
4. Reference the built DLL
Now you can reference the built DLL from the bin/Release
folder in your projects.