Checks for a newer version of an application from a shared directory.
System Object CleanCode.IO UpdateCheckNamespace: CleanCode.IOAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
public ref class UpdateCheck
public ref class UpdateCheck
Typically used in a
Load event handler for a
Form,
this class provides a simple mechanism for checking for a new
version, allowing you to prompt the user to update.
This currently functions only to check a single shared directory,
which must contain the versions of your program all named
consistently with the version number embedded in the name.
The version number must contain just digits and separators,
as in 1-7-0-14. Periods, hyphens, or underscores are all valid separators.
So if your application is "MyApp", a valid set of names
might be:
MyApp-internal-1-7-0.exe, MyApp-1-7-1-4.exe, MyApp-1-7-1-5.exe.
MyApp-internal-1-7-0.exe, MyApp-1-7-1-4.exe, MyApp-1-7-1-5.exe.
Note that you may attach version numbers to the executable file
as shown above, or you may put the application and its related
files in subfolders named with version numbers.
In either case, you may optionally include a change log
for each version (see
RemindNewerVersion(Int32, DateTime)).
Since CleanCode 0.9.07.