WGet.NET 2.0.0

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

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

WGet.NET

Version NuGet

Main Develop
CodeQL_main BCH compliance CodeQL_develop

❓ What is WGet.NET

WGet.NET is a WinGet wrapper library for .Net.

I created it for another project and then made a library out of it in hope it might be usefull to someone else too.
Therefore the functions are limited at the moment.
If you tried this library, please give me some feedback. And if you miss a feature, you can create an issue to let me know.

🎈 Version 2.0

Version 2.0 is out now, with big changes, improvements and new features.
But before updating to the new version, read the changelog first, because version 2.0 is not compatible with older versions of this library.

You can finde the changelog here: https://github.com/basicx-StrgV/WGet.NET/releases/tag/2.0.0

⚡ Features

  • Get a list of installed packages
  • Search packages
  • Install packages
  • Uninstall packages
  • Upgrade packages
  • Get a list of upgradeable packages
  • Export and Import packages
  • Check if WinGet is installed
  • Get the WinGet version number
  • Get installed sources
  • Add sources
  • Remove sources
  • Update sources
  • Export sources
  • Reset sources

📦 NuGet Package

You can get the NuGet package here: https://www.nuget.org/packages/WGet.NET/

❗ Requirements

WinGet needs to be installed on the system.

If WinGet is not installed on your system you can get it here: https://github.com/microsoft/winget-cli

📍 Informations

Namespaces

  • WGetNET

Classes

  • WinGetInfo
  • WinGetPackageManager
  • WinGetPackage
  • WinGetSourceManager
  • WinGetSource
  • WinGetNotInstalledException
  • WinGetActionFailedException
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.1 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 (1)

Showing the top 1 popular GitHub repositories that depend on WGet.NET:

Repository Stars
nkdAgility/azure-devops-migration-tools
Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Tasks, Test Cases, and Plans & Suits from one Project to another in Azure DevOps / TFS both within the same Organisation, and between Organisations.
Version Downloads Last updated
4.1.0 100 4/13/2024
4.0.1 778 1/17/2024
4.0.0 121 1/15/2024
3.2.0 583 11/4/2023
3.1.0 175 10/19/2023
3.0.0 156 10/17/2023
3.0.0-alpha2 100 10/13/2023
3.0.0-alpha1 104 10/13/2023
2.3.0 267 5/23/2023
2.2.0 155 5/8/2023
2.1.0 196 4/23/2023
2.0.3 177 4/22/2023
2.0.2 601 9/18/2022
2.0.1 451 6/14/2022
2.0.0 463 2/26/2022
1.2.0 398 9/7/2021
1.1.0 374 9/5/2021
1.0.1 380 6/21/2021
1.0.0 436 6/19/2021