.NET 7, Linux, GTK#, how to detect waking up from sleep?

26 Views Asked by At

After the system goes into sleep mode, it can lose the network connection. I need to know when the PC gets awakened from sleep. How to know that on Linux? The existing answers using SystemEvents seem to be Windows-only.

0

There are 0 best solutions below