MediafireDownloader 1.0.0

Additional Details

Newer Versions migrated to .NET Core (7.0), new way the downloader works.

There is a newer version of this package available.
See the version list below for details.
dotnet add package MediafireDownloader --version 1.0.0
NuGet\Install-Package MediafireDownloader -Version 1.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="MediafireDownloader" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MediafireDownloader --version 1.0.0
#r "nuget: MediafireDownloader, 1.0.0"
#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.
// Install MediafireDownloader as a Cake Addin
#addin nuget:?package=MediafireDownloader&version=1.0.0

// Install MediafireDownloader as a Cake Tool
#tool nuget:?package=MediafireDownloader&version=1.0.0

MediafireDownloader

A small dll that lets you download files from mediafire, it uses HtmlAgilityPack to retrieve the ddl link.

Code Examples:


Simple console app using this dll

    internal class Program
    {
        public static void Main(string[] args)
        {
            ConsoleExt.WriteLineColored(
                "Welcome to EZMediafireDownloaderCLI, " +
                "please enter the link you want to download from below: ",
                ConsoleColor.Magenta);

            string downloadLink = Console.ReadLine();
            
            ConsoleExt.WriteLineColored(
                "\nEnter the path + name + file ending of the file now please (example C:\\Folder\\File.zip): ", 
                ConsoleColor.Magenta);

            string destination = Console.ReadLine();
            
            ConsoleExt.WriteLineColored("\nDownloading, please wait...", ConsoleColor.Magenta);
            
            Mediafire.MediafireDownloader.DownloadMediafireFileAsync(
                downloadLink, destination,
                null, true);
            
            Console.ReadKey();
        }
    }

    internal class ConsoleExt
    {
        public static void WriteLineColored(string text, ConsoleColor color)
        {
            Console.ForegroundColor = color;
            Console.WriteLine(text);
            Console.ForegroundColor = ConsoleColor.White;
        }
    } 

Product Compatible and additional computed target framework versions.
.NET Framework net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1 589 4/26/2023
2.0.0 491 4/26/2023
1.0.0.1 589 2/16/2023
1.0.0 587 2/16/2023

Initial release