UpdateCheck ClassCleanCode C# Libraries v1.2.03 API
Checks for a newer version of an application from a shared directory.
Inheritance Hierarchy

OnlineSystem Object
  CleanCode.IO UpdateCheck

Namespace: CleanCode.IO
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public class UpdateCheck
Remarks

Typically used in a Load event handler for a OnlineForm, 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.
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.

See Also