Represents detailed update information obtained through a call to CheckForUpdateAsync.
Assembly: System.Deployment (in System.Deployment.dll)
Thetype exposes the following members.
|AvailableVersion||Gets the version number of the latest uninstalled version.|
|Cancelled||Gets a value indicating whether an asynchronous operation has been canceled. (Inherited from AsyncCompletedEventArgs.)|
|Error||Gets a value indicating which error occurred during an asynchronous operation. (Inherited from AsyncCompletedEventArgs.)|
|IsUpdateRequired||Gets a value indicating whether the update must be installed.|
|MinimumRequiredVersion||Gets the minimum version that the user must have installed on the computer.|
|UpdateAvailable||Gets whether an uninstalled update is available.|
|UpdateSizeBytes||Gets the size of the available update.|
|UserState||Gets the unique identifier for the asynchronous task. (Inherited from AsyncCompletedEventArgs.)|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|RaiseExceptionIfNecessary||Raises a user-supplied exception if an asynchronous operation failed. (Inherited from AsyncCompletedEventArgs.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
With , you can decide whether to upgrade your ClickOnce application based on information about the newest version. UpdateAvailable will return a Boolean value indicating whether there is a new update at all. The AvailableVersion property provides the version number of the new version, while MinimumRequiredVersion provides the earliest version that the user should have installed on the computer. IsUpdateRequired expresses whether the latest available update is required of the user. Finally, UpdateSizeBytes expresses the total size of the update.