Provides access to system event notifications.
| C# | Visual Basic |
public static class SystemEvents
Public NotInheritable Class SystemEvents
| All Members | Events | ||||
| Icon | Member | Description |
|---|---|---|
| PowerModeChanged |
Occurs when the user suspends or resumes the system.
| |
| TimeChanged |
Occurs when the user changes the time on the system clock.
| |
| UserPreferenceChanged |
Occurs when a user preference has changed.
|
Unlike the desktop version, all events are raised on the UI thread of your application.
In the current version this functionality requires a Windows Forms application and doesn't support Console applications.
| Object | |
| SystemEvents | |