Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

c# clickonce events?

Tags:

c#

clickonce

Is there an event fired straight after or during a clickonce update that I can overload or subscribe to?

like image 280
grimmersnee Avatar asked Dec 21 '25 08:12

grimmersnee


1 Answers

You can subscribe to the following events

  • 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 when a file download is complete.
  • 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 the UpdateAsync method.

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

like image 103
vittore Avatar answered Dec 22 '25 21:12

vittore



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!