What is the best way to perform something when an application is idle?
Should I use DispatcherTimer?
Or BeginInvoke?
You should use a DispatcherTimer with a DispatcherPriority set to either DispatcherPriority.ApplicationIdle
or DispatcherPriority.SystemIdle
(depending on your goals).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With