CodeMade.GithubUpdateChecker
0.1.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CodeMade.GithubUpdateChecker --version 0.1.1
NuGet\Install-Package CodeMade.GithubUpdateChecker -Version 0.1.1
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="CodeMade.GithubUpdateChecker" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodeMade.GithubUpdateChecker --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeMade.GithubUpdateChecker, 0.1.1"
#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 CodeMade.GithubUpdateChecker as a Cake Addin #addin nuget:?package=CodeMade.GithubUpdateChecker&version=0.1.1 // Install CodeMade.GithubUpdateChecker as a Cake Tool #tool nuget:?package=CodeMade.GithubUpdateChecker&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Github Update Checker
This is a .net library and a nuget package that allows you to check for release updates on github repositories, and show a notification to the user.
It's meant to be used by applications that target Windows (at least Windows 10), and are distributed via GitHub Releases.
Usage:
var currentVersion = Assembly.GetExecutingAssembly().GetName().Version;
var checker = VersionChecker.Create("myusername", "myrepo", currentVersion, "My App Name");
Task.Run(() => checker.NotifyIfNewVersion());
Some notes about defaults:
- By default, the checker will only notify the user once per day. You can change this by setting the
NotificationFrequency
property. - By default, the checker will use a temp file to store the last time it notified the user. You can change this by passing a custom class that implements
INotificationStorage
to the constructor ofVersionChecker
.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows10.0.17763 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows10.0.17763
- Microsoft.Toolkit.Uwp.Notifications (>= 7.1.3)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.