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

Namespace: Kjs.AppLife.Update.Wpf
Assembly: Kjs.AppLife.Update.Wpf (in Kjs.AppLife.Update.Wpf.dll) Version: 5.1.0.0 (5.1.0.0)
Syntax
public string Version { get; set; }

Property Value

Type: String
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 the Update Controller AvailableUpdates collection is recreated to match the new version.

See Also