ApplicationUpdater.CheckForNewVersion

Do all operation that checks for new version, brings up the change dialog (or notification optionally), allows downloading etc. UI can just call this method to do it all.

public static Task<Boolean> CheckForNewVersion(bool force,
	int failTimeout,
	bool showNotification)

Parameters

force
Forces the version check even if it was done recently. Otherwise LastChecked and Interval is used to decide if to hit the server

failTimeout
Max time to for the HTTP check to take before considering failed

showNotification
If true shows a notification balloon instead of a dialog


See also:

Class ApplicationUpdater

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic