Resume from sleep and hibernate

Hi,

We have an issue with automatic updater's control WaitBeforeCheckSecs being triggered the moment the PC resumes from standby and not the correct amount of time.

It is probably related to this C# issue.http://stackoverflow.com/questions/4574188/how-to-stop-a-timer-during-hibernate-sleep-mode-in-c-winform-application

We want the WaitForCheckSecs value to be obeyed.

Until a fix is available, is there a way to stop the automatic updater control from triggering at wakeup?

We have hacked our code to capture the standby event and call the Automaticupdater Cancel method. We still need a way to resume automatic updater on wakeup. Can we reset the WaitBeforeCheckSecs value on wakeup?

Thanks

The "WaitBeforeCheckSecs" property is a simple buffer time between the when your form is created and the when the AutomaticUpdater begins checking for updates. This is meant to be a low number (e.g. 10 to 30 seconds). And the checking should fire only once.

It sounds like you're using the "WaitBeforeCheckSecs" property to wait a long time before checking. If this is the case then you're probably better off setting the "UpdateType" to "DoNothing" and manually checking for updates when you need to. Then, just before you've started checking for updates, set the UpdateType to "Automatic".

Does this help?

OK, we have set the wait to 180 seconds. If 10-30 is the max for wyUpdate, then we'll follow your advice with the workaround.

Thanks