- Notifications
You must be signed in to change notification settings - Fork68
A comfortable update solution for .NET-applications.
License
dbforge/nUpdate
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
nUpdate is a powerful update system for .NET applications.Providing high security and an easy-to-use user interface, it is the perfect solution for your software.
- Remote update package control and management
- Many configuration settings
- Operations let you access the file system, the registry and add the possiblity to start or stop processes and services, when installing an update. You can even execute a small C#-script.
- Automated updating for all clients
- Secured update packages by signing with SHA512 and 8192 Bit RSA-keys
- Built-in user interface or a custom user interface can be used
- Interfaces, service providers and the Event-based/Task-based asynchronous pattern add a lot of flexiblity
- Smart statistics about the downloads of your published updates
- Supports very large update packages
- ...
The purenUpdate library is based on .NET standard 2.0.This means your project needs to fulfill one of these requirements:
- .NET Framework >= 4.6.1
- .NET Core >= 2.0
- UWP >= 10.0.16299
All other libraries in the solution use the .NET Framework 4.6.1.
You can get the necessary libraries and applications from the currentreleases. The nUpdate library itself can also be installed in your application using the NuGet package manager.
PM> Install-Package nUpdate -Version 4.0.0Specify the current client version inside Properties > AssemblyInfo.cs
[assembly:nUpdateVersion("1.0.0.0")]
or inside the constructor of theUpdateManager class (isnull by default):
varmanager=newUpdateManager(newUri(...),"PublicKey",CultureInfo.Foo,newUpdateVersion("1.0.0.0"));
Note: One of the both needs to be specified. If both are specified, the version specified in the constructor parameter will be used.When none of them is specified, an exception will be thrown.
The packagenUpdate.UI.WindowsForms provides a built-in user interface for Windows Forms application. Install it via NuGet:
PM> Install-Package nUpdate.UI.WindowsForms -Version 1.0.0To use the built-in WPF user interface, you need to installnUpdate.UI.WPF:
PM> Install-Package nUpdate.UI.WPF -Version 1.0.0Both projects give you anUpdaterUI class that you can use as follows:
// Generated via nUpdate Administration > Open project > Overview > Copy sourcevarmanager=newUpdateManager(newUri(...), ...);varupdaterUI=newUpdaterUI(manager,SynchronizationContext.Current);updaterUI.ShowUserInterface();
// Generated via nUpdate Administration > Open project > Overview > Copy sourcevarmanager=newUpdateManager(newUri(...), ...);if(manager.SearchForUpdates()){manager.DownloadPackages();if(manager.ValidatePackages())manager.InstallPackage();return;}
For asynchronous usage, each method (exceptInstallPackage andValidatePackages which are synchronous in any case till now) has a corresponding asynchronous one defined inside theUpdateManager.
nUpdate uses a custom version implementation to describe application versions. Semantic versioning is not fully supported among the exact specification but an implementation for it is already included in v4.
You may specify versions as known with the ordinary partsMajor.Minor.Revision.Build, e.g.new UpdateVersion("1.2.0.0").Pre-Releases may be noted by appending the leading, lowered letters of developmental stages and a development build. For example, 1.2 Beta 1 is noted as1.2.0.0b1 or1.2b1, 1.3.1 Alpha 3 is noted as1.3.1.0a3 or1.3.1a3. This means that trailing zero subversions may be ignored and have no need to be declared. The last subversion and the developmental stage may be separated by a dash:1.2-a1.
There are three developmental stages to this point:
Alpha:a,Beta:b,ReleaseCandidate:rc
Note: These need to be specified by using the abbrevations above.1.2.3alpha1 is not valid in v3 of nUpdate.
In version 4 any type of pre-release descriptor, as well as build metadata, will be available. It will fulfill the complete semantic versioning specification and have an abstract version system.
About
A comfortable update solution for .NET-applications.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.



