brhmedia.GitHubUpdater 1.7.5.5

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

// Install brhmedia.GitHubUpdater as a Cake Tool
#tool nuget:?package=brhmedia.GitHubUpdater&version=1.7.5.5                

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,
	
	//this is the default value; see below for more options
	Mode = OperationModus.Normal
};

// 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();

You can set Mode to one of three options:

  • OperationModus.DebugMode allows for logging API outputs, enabling the channel selector and always showing the Update Available form
  • OperationModus.ChannelSelector enables pulling from either only Pre-release builds or only Stable builds via the use of a selection form; otherwise, the behaviour is the same as Normal
  • OperationModus.Normal only pulls from the Stable channel and will only show the Update Available form if a later version is available
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
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
1.7.5.6 75 11/17/2024
1.7.5.5 61 11/17/2024
1.7.5.4 62 11/17/2024
1.7.5.3 64 11/17/2024
1.7.5.2 66 11/17/2024
1.7.5.1 67 11/17/2024
1.7.5 61 11/17/2024
1.7.4 70 11/17/2024

Initial release