Click or drag to resize
UpdateControllerEnableOfflineUpdates Property
Gets or sets a value indicating whether the UpdateController will check for updates using cached data, allowing previously downloaded updates to be applied without network connectivity.

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 bool EnableOfflineUpdates { get; set; }

Property Value

Type: Boolean
true if cached data checking is allowed; otherwise, false.

The default value is .

Exceptions
ExceptionCondition
InvalidOperationExceptionThe property is set and IsBusy is .
Remarks

When EnableOfflineUpdates is , any previously downloaded updates can be immediatly applied. The CurrentUpdate property will be automatically initialized, and ApplyUpdate can be called without checking for updates first.

When EnableOfflineUpdates changes, the local cache is checked and the UpdateController is prepared. If a cached update is present, the UpdateFound event is raised and the CurrentUpdate property will indicate the update that is ready to be applied.

See Also