UpdateControllerValidateUpdate Method |
Namespace: Kjs.AppLife.Update.Controller
Exception | Condition |
---|---|
InvalidOperationException | CurrentUpdate is . To set CurrentUpdate, use CheckForUpdate, CheckForUpdateAsync, or ShowCheckForUpdateDialog. -or- The value of IsDownloaded is for CurrentUpdate. This value is set to after DownloadUpdate, DownloadUpdateAsync, or ShowDownloadUpdateDialog completes. -or- IsBusy is . |
This method checks the downloaded update against the signature that was obtained from director.xml and the key specified in PublicKeyToken. The update must have already been downloaded using DownloadUpdate, DownloadUpdateAsync, or ShowDownloadUpdateDialog.
If EnableAutoChaining is , this method validates all updates in the chain and returns if any are invalid.