What are system events? Well, basically they are events raised by the operating system when a user performs an action which affects the operating environment.
System events are accessible through the Microsoft.Win32.SystemEvents
class.
SystemEvents Events
Below is a list of all the system events found within the SystemEvents
class.
Name | Description |
DisplaySettingsChanged
|
Occurs when the user changes the display settings. |
DisplaySettingsChanging
|
Occurs when the display settings are changing. |
EventsThreadShutdown
|
Occurs before the thread that listens for system events is terminated. |
InstalledFontsChanged
|
Occurs when the user adds fonts to or removes fonts from the system. |
LowMemory
|
Obsolete. Occurs when the system is running out of available RAM. |
PaletteChanged
|
Occurs when the user switches to an application that uses a different palette. |
PowerModeChanged
|
Occurs when the user suspends or resumes the system. |
SessionEnded
|
Occurs when the user is logging off or shutting down the system. |
SessionEnding
|
Occurs when the user is trying to log off or shut down the system. |
SessionSwitch
|
Occurs when the currently logged-in user has changed. |
TimeChanged
|
Occurs when the user changes the time on the system clock. |
TimerElapsed
|
Occurs when a windows timer interval has expired. |
UserPreferenceChanged
|
Occurs when a user preference has changed. |
UserPreferenceChanging
|
Occurs when a user preference is changing. |