ApplicationDeployment Members
.NET Framework 2.0
Supports updates of the current deployment programmatically, as well as on-demand downloads of files. This class cannot be inherited.
The following tables list the members exposed by the ApplicationDeployment type.
| Name | Description | |
|---|---|---|
| ActivationUri | Gets the URL used to launch the deployment manifest of the application. |
| CurrentDeployment | Returns the current ApplicationDeployment for this deployment. |
| CurrentVersion | Gets the version of the deployment for the current running instance of the application. |
| DataDirectory | Gets the path to the ClickOnce data directory. |
| IsFirstRun | Gets a value indicating whether this is the first time this application has run on the client computer. |
| IsNetworkDeployed | Gets a value indicating whether the current application is a ClickOnce application. |
| TimeOfLastUpdateCheck | Gets the date of the time ClickOnce last checked for an application update. |
| UpdatedApplicationFullName | Gets the full name of the application after it has been updated. |
| UpdatedVersion | Gets the version of the update that was recently downloaded. |
| UpdateLocation | Gets the Web site or file share from which this application updates itself. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| CheckForDetailedUpdate | Performs the same operation as CheckForUpdate, but returns extended information about the available update. |
| CheckForUpdate | Checks UpdateLocation to determine whether a new update is available. |
| CheckForUpdateAsync | Checks UpdateLocation asynchronously to determine whether a new update is available. |
| CheckForUpdateAsyncCancel | Cancels the asynchronous update check. |
| DownloadFileGroup | Downloads, on-demand, a set of optional files. |
| DownloadFileGroupAsync | Overloaded. Downloads, on-demand, a set of optional files in the background. |
| DownloadFileGroupAsyncCancel | Cancel an asynchronous file download. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| IsFileGroupDownloaded | Checks whether the named file group has already been downloaded to the client computer. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Update | Starts a synchronous download and installation of this application's latest version. |
| UpdateAsync | Starts an asynchronous download and installation of this application's latest version. |
| UpdateAsyncCancel | Cancels an asynchronous update initiated by UpdateAsync. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| CheckForUpdateCompleted | Occurs when CheckForUpdateAsync has completed. |
| CheckForUpdateProgressChanged | Occurs when a progress update is available on a CheckForUpdateAsync call. |
| DownloadFileGroupCompleted | Occurs on the main application thread once a file download completes. |
| DownloadFileGroupProgressChanged | Occurs when status information is available on a file download operation initiated by a call to DownloadFileGroupAsync. |
| UpdateCompleted | Occurs when ClickOnce has finished upgrading the application as the result of a call to UpdateAsync. |
| UpdateProgressChanged | Occurs when ClickOnce has new status information for an update operation initiated by calling UpdateAsync. |