Export (0) Print
Expand All

ApplicationDeployment Members

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
Public property ActivationUri Gets the URL used to launch the deployment manifest of the application.
Public property Static CurrentDeployment Returns the current ApplicationDeployment for this deployment.
Public property CurrentVersion Gets the version of the deployment for the current running instance of the application.
Public property DataDirectory Gets the path to the ClickOnce data directory.
Public property IsFirstRun Gets a value indicating whether this is the first time this application has run on the client computer.
Public property Static IsNetworkDeployed Gets a value indicating whether the current application is a ClickOnce application.
Public property TimeOfLastUpdateCheck Gets the date of the time ClickOnce last checked for an application update.
Public property UpdatedApplicationFullName Gets the full name of the application after it has been updated.
Public property UpdatedVersion Gets the version of the update that was recently downloaded.
Public property UpdateLocation Gets the Web site or file share from which this application updates itself.
Top

(see also Protected Methods )
  Name Description
Public method CheckForDetailedUpdate Performs the same operation as CheckForUpdate, but returns extended information about the available update.
Public method CheckForUpdate Checks UpdateLocation to determine whether a new update is available.
Public method CheckForUpdateAsync Checks UpdateLocation asynchronously to determine whether a new update is available.
Public method CheckForUpdateAsyncCancel Cancels the asynchronous update check.
Public method DownloadFileGroup Downloads, on-demand, a set of optional files.
Public method DownloadFileGroupAsync Overloaded. Downloads, on-demand, a set of optional files in the background.
Public method DownloadFileGroupAsyncCancel Cancel an asynchronous file download.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method 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.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsFileGroupDownloaded Checks whether the named file group has already been downloaded to the client computer.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method Update Starts a synchronous download and installation of this application's latest version.
Public method UpdateAsync Starts an asynchronous download and installation of this application's latest version.
Public method UpdateAsyncCancel Cancels an asynchronous update initiated by UpdateAsync.
Top

  Name Description
Protected method 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.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Public event CheckForUpdateCompleted Occurs when CheckForUpdateAsync has completed.
Public event CheckForUpdateProgressChanged Occurs when a progress update is available on a CheckForUpdateAsync call.
Public event DownloadFileGroupCompleted Occurs on the main application thread once a file download completes.
Public event DownloadFileGroupProgressChanged Occurs when status information is available on a file download operation initiated by a call to DownloadFileGroupAsync.
Public event UpdateCompleted Occurs when ClickOnce has finished upgrading the application as the result of a call to UpdateAsync.
Public event UpdateProgressChanged Occurs when ClickOnce has new status information for an update operation initiated by calling UpdateAsync.
Top

Community Additions

ADD
Show:
© 2014 Microsoft