MetaMaskDownloadManager 1.0.9

dotnet add package MetaMaskDownloadManager --version 1.0.9
                    
NuGet\Install-Package MetaMaskDownloadManager -Version 1.0.9
                    
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="MetaMaskDownloadManager" Version="1.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MetaMaskDownloadManager" Version="1.0.9" />
                    
Directory.Packages.props
<PackageReference Include="MetaMaskDownloadManager" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MetaMaskDownloadManager --version 1.0.9
                    
#r "nuget: MetaMaskDownloadManager, 1.0.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MetaMaskDownloadManager@1.0.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MetaMaskDownloadManager&version=1.0.9
                    
Install as a Cake Addin
#tool nuget:?package=MetaMaskDownloadManager&version=1.0.9
                    
Install as a Cake Tool

MetaMask Download Manager

This C# library allows you to download MetaMask releases directly from GitHub, supporting multiple browsers and handling GitHub API rate limits via token authentication.

Nuget Package Statistics
MetaMaskDownloadManager NuGet alternate text is missing from this package README image

Features

  • Download the latest or a specific version of MetaMask from GitHub.
  • Support for multiple browsers (e.g., Chrome, Firefox).
  • Fetch available MetaMask versions.
  • Uses GitHub API for release information and asset downloads.
  • Supports GitHub token authentication to avoid API rate limits.

Requirements

  • .NET 8.0 or later

Setup

  1. Install the package from NuGet:

    dotnet add package MetaMaskDownloadManager
    
  2. Set up the GitHub token:

    To avoid GitHub rate limit restrictions, set the GITHUB_TOKEN environment variable with your personal GitHub token:

    export GITHUB_TOKEN=your_github_token
    
    
    

Usage

Download MetaMask

To download MetaMask, use the MetaMaskDownloadManagerService class:

using MetaMaskDownloadManager;

class Program
{
    static void Main(string[] args)
    {
        var service = new MetaMaskDownloadManagerService();
        var options = new DownloadManagerOptions
        {
            Browser = CustomBrowserType.Chrome,
            Version = "latest",
            DestinationFilePath = "/path/to/download"
        };
        string path = service.DownloadMetaMask(options);
        Console.WriteLine($"MetaMask downloaded to: {path}");
    }
}

List Available MetaMask Versions

To get a list of available MetaMask versions:

using MetaMaskDownloadManager;

class Program
{
    static void Main(string[] args)
    {
        var service = new MetaMaskDownloadManagerService();
        var versions = service.GetAvailableMetaMaskVersions(CustomBrowserType.Chrome);
        foreach (var version in versions)
        {
            Console.WriteLine(version);
        }
    }
}

Notable Features

  • GitHub API Integration: Fetches release information and downloads assets using the GitHub API.
  • Token Authentication: Uses a GitHub token to avoid API rate limits.
  • Flexible Download Options: Supports specifying browser type and version.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

Branch naming convention:

  • Breaking changes - major/${meaningful change name}
  • Significant changes - feature/${meaningful change name}
  • Small insignificant changes or fixes - fix/${meaningful change name}

Branch naming affects versioning!!!

License

This project is licensed under the MIT License.

Appreciation

Give it a Star! ⭐

If you liked the project or if it helped you, please give it a star.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.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
1.0.9 129 1/12/2026
1.0.8 123 1/6/2026
1.0.7 131 1/6/2026
1.0.6 116 1/6/2026
1.0.2 121 1/6/2026
1.0.1 116 1/6/2026
0.1.5 120 1/6/2026
0.1.5-ci0005 109 1/6/2026
0.1.5-ci0003 115 1/6/2026
0.1.4 109 1/6/2026
0.1.3 111 1/6/2026
0.1.2 111 1/6/2026
0.1.1 112 1/6/2026
0.1.0 116 1/6/2026