C # clickonce events?

Is there an event that fires right after or during a clickonce update that I can reload or subscribe to?

+3
source share
2 answers

You can subscribe to the following events

  • CheckForUpdateCompleted - Occurs when CheckForUpdateAsync is complete.
  • CheckForUpdateProgressChanged - occurs when an update is available for calling CheckForUpdateAsync.
  • DownloadFileGroupCompleted - Appears in the main thread of the application when the file download is completed.
  • DownloadFileGroupProgressChanged - occurs when status information is available during the download process of a file initiated by a call to DownloadFileGroupAsync.
  • UpdateCompleted - , ClickOnce UpdateAsync.
  • UpdateProgressChanged - , ClickOnce , UpdateAsync.

. http://msdn.microsoft.com/en-us/library/system.deployment.application.applicationdeployment_events.aspx

+5

Source: https://habr.com/ru/post/1739260/


All Articles