Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Microsoft.Win32 Namespace

The Microsoft.Win32 namespace provides two types of classes: those that handle events raised by the operating system and those that manipulate the system registry.

Namespace hierarchy

Classes

Class Description
PowerModeChangedEventArgs Provides data for the PowerModeChanged event.
Registry Supplies the base Registrykeys that access values and subkeys in the registry.
RegistryKey Represents a key level node in the Windows registry. This class is a registry encapsulation.
SessionEndedEventArgs Provides data for the SessionEnded event.
SessionEndingEventArgs Provides data for the SessionEnding event.
SystemEvents Provides a set of global system events to callers. This class cannot be inherited.
TimerElapsedEventArgs Provides data for the TimerElapsed event.
UserPreferenceChangedEventArgs Provides data for the UserPreferenceChanged event.
UserPreferenceChangingEventArgs Provides data for the UserPreferenceChanging event.

Delegates

Delegate Description
PowerModeChangedEventHandler Represents the method that will handle the PowerModeChanged event from the operating system.
SessionEndedEventHandler Represents the method that will handle the SessionEnded event from the operating system.
SessionEndingEventHandler Represents the method that will handle the SessionEnding event from the operating system.
TimerElapsedEventHandler Represents the method that will handle the TimerElapsed event.
UserPreferenceChangedEventHandler Represents the method that will handle the UserPreferenceChanged event.
UserPreferenceChangingEventHandler Represents the method that will handle the UserPreferenceChanging event.

Enumerations

Enumeration Description
PowerModes Specifies how the operating system power mode changes.
RegistryHive Represents the possible values for a top-level node on a foreign machine.
SessionEndReasons Specifies how the current logon session is ending.
UserPreferenceCategory Identifies areas of user preferences that have changed.

See Also

.NET Framework Class Library

Show:
© 2014 Microsoft. All rights reserved.