Click or drag to resize
UpdateControllerUpdateFound Event
Occurs when one or more updates have been found.

Namespace: Kjs.AppLife.Update.Controller
Assembly: Kjs.AppLife.Update.Controller (in Kjs.AppLife.Update.Controller.dll) Version: 5.1.0.9 (5.1.0.9)
Syntax
public event UpdateFoundEventHandler UpdateFound

Value

Type: Kjs.AppLife.Update.ControllerUpdateFoundEventHandler
Remarks

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.

See Also