I have a WPF application that should update some data after restarting the computer from sleep mode or sleep mode. Details
If I continue to open the application and the sleeping computer (or sleep mode) after the computer resumes working, I want to see the application data update. No click or focus.
I tried to use the Application.Activated event, but it only works when I click or activate Applicaiton.
Which event should I use?
Thank you very much.
source share