UpdateControllerUpdateFound Event |
Namespace: Kjs.AppLife.Update.Controller
This event is raised whenever the controller has found an update that can be applied to its Version. Updates are found during calls to CheckForUpdate, CheckForUpdateAsync, ShowCheckForUpdateDialog, and UpdateInteractive. When multiple updates are found, the controller will select the one with the highest version. Handlers of the event can check information about all of the updates that have been found and use custom criteria to select the one to be shown to the user, downloaded, and applied.
The event may be raised on a thread-pool worker thread.
The UpdateFoundEventArgs class provides data for the event; handlers can check all applicable updates with the AvailableUpdates property and choose the update to be applied by setting SelectedUpdate. If SelectedUpdate is set to , the controller will indicate that no update is available.