Skip to content

Easy way to check if your C# program is up to date using GitHub Releases

License

Notifications You must be signed in to change notification settings

nixxquality/GitHubUpdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

afee4e4 · Jan 14, 2017

History

18 Commits
Feb 12, 2015
Feb 12, 2015
Jun 21, 2014
Jun 21, 2014
Jun 21, 2014
Jan 14, 2017

Repository files navigation

GitHub Update Project Status: Unsupported - The project has reached a stable, usable state but the author(s) have ceased all work on it. A new maintainer may be desired.

This project has been abandoned by the owner as I do not use GitHub anymore. Feel free to fork and improve it, if you'd like.

If you want to take over the NuGet package, go ahead and contact me at nixx@is-fantabulo.us.


Easy way to check if your C# program is up to date using GitHub Releases

Installing

PM> Install-Package GitHubUpdate

Example

var checker = new UpdateChecker("nixxquality", "WebMConverter") // uses your Application.ProductVersion

UpdateType update = await checker.CheckUpdate();

if (update == UpdateType.None)
{
  // Up to date!
}
else
{
  // Ask the user if he wants to update
  // You can use the prebuilt form for this if you want (it's really pretty!)
  var result = new UpdateNotifyDialog(checker).ShowDialog();
  if (result == DialogResult.Yes)
  {
    checker.DownloadAsset("Converter.zip"); // opens it in the user's browser
  }
}

See also the Sample project included in the repository.

About

Easy way to check if your C# program is up to date using GitHub Releases

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages