brhmedia.GitHubUpdater
1.7.5.3
See the version list below for details.
dotnet add package brhmedia.GitHubUpdater --version 1.7.5.3
NuGet\Install-Package brhmedia.GitHubUpdater -Version 1.7.5.3
<PackageReference Include="brhmedia.GitHubUpdater" Version="1.7.5.3" />
paket add brhmedia.GitHubUpdater --version 1.7.5.3
#r "nuget: brhmedia.GitHubUpdater, 1.7.5.3"
// Install brhmedia.GitHubUpdater as a Cake Addin #addin nuget:?package=brhmedia.GitHubUpdater&version=1.7.5.3 // Install brhmedia.GitHubUpdater as a Cake Tool #tool nuget:?package=brhmedia.GitHubUpdater&version=1.7.5.3
GitHubUpdater
C# REST client for communicating with the GitHub API. Specifically designed for update checks relating to the latest GitHub release of the specified repo.
It is crucial that you tag
your releases with your version number; preferably with v
prepended like so: v1.0.0
.
Initialise an update check like so:
var version = new Version(Application.ProductVersion);
var client = new UpdateClient()
{
Author = "<Your GitHub Username",
RepositoryName = "<Your Repo Name>",
CurrentInstalledVersion = version,
DebugMode = true
};
// Start API call and update check.
// If an update is available, the client will show a form
// with release information from GitHub. Otherwise,
// a simple messagebox is displayed informing the user that
// they are up-to-date.
client.CheckIfLatest();
If set to true, DebugMode
enables Update Channel
selection; in this mode, the developer is able to check for releases that are tagged as a Pre-release
by GitHub.
You may find this mode useful if your application permits 'Unstable' build downloads.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- AltoHttp (>= 1.5.2)
- Markdig (>= 0.38.0)
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 112.1.0)
- System.Buffers (>= 4.6.0)
- System.Memory (>= 4.6.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
- System.Text.Json (>= 9.0.0)
- System.Threading.Tasks.Extensions (>= 4.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release