Click or drag to resize
UpdateControllerVersion Property
Gets or sets the current version number of the application used for update purposes.

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

Property Value

Type: Version
The current version of the application used for update purposes.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe property is set and IsBusy is .
ArgumentNullExceptionvalue is .
Remarks

Each published update has a list of versions that it can be applied to. When the UpdateController checks for an available update, it compares the value of Version to each update's list and only allows updates that apply to Version.

When UseHostAssemblyVersion is , this property will always return the version of the assembly returned by Assembly.GetEntryAssembly.

When Version changes, the list of available updates returned by AvailableUpdates is recreated to match the new version and CurrentUpdate is set to . If EnableAutoChaining is , this will disable updating until the next update check.

See Also