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.

Remarks

 

Classes

TypeReason
IntranetZoneCredentialPolicy

Defines a credential policy to be used for resource requests that are made using WebRequest and its derived classes.

PowerModeChangedEventArgs

Provides data for the SystemEvents.PowerModeChanged event.

PowerModeChangedEventHandler

Represents the method that will handle the SystemEvents.PowerModeChanged event.

PowerModes

Defines identifiers for power mode events reported by the operating system.

Registry

Provides RegistryKey objects that represent the root keys in the Windows registry, and static methods to access key/value pairs.

RegistryHive

Represents the possible values for a top-level node on a foreign machine.

RegistryKey

Represents a key-level node in the Windows registry. This class is a registry encapsulation.

RegistryKeyPermissionCheck

Specifies whether security checks are performed when opening registry keys and accessing their name/value pairs.

RegistryOptions

Specifies options to use when creating a registry key.

RegistryValueKind

Specifies the data types to use when storing values in the registry, or identifies the data type of a value in the registry.

RegistryValueOptions

Specifies optional behavior when retrieving name/value pairs from a registry key.

RegistryView

Specifies which registry view to target on a 64-bit operating system.

SessionEndedEventArgs

Provides data for the SystemEvents.SessionEnded event.

SessionEndedEventHandler

Represents the method that will handle the SystemEvents.SessionEnded event.

SessionEndingEventArgs

Provides data for the SystemEvents.SessionEnding event.

SessionEndingEventHandler

Represents the method that will handle the SystemEvents.SessionEnding event from the operating system.

SessionEndReasons

Defines identifiers that represent how the current logon session is ending.

SessionSwitchEventArgs

Provides data for the SystemEvents.SessionSwitch event.

SessionSwitchEventHandler

Represents the method that will handle the SystemEvents.SessionSwitch event.

SessionSwitchReason

Defines identifiers used to represent the type of a session switch event.

SystemEvents

Provides access to system event notifications. This class cannot be inherited.

TimerElapsedEventArgs

Provides data for the SystemEvents.TimerElapsed event.

TimerElapsedEventHandler

Represents the method that will handle the SystemEvents.TimerElapsed event.

UserPreferenceCategory

Defines identifiers that represent categories of user preferences.

UserPreferenceChangedEventArgs

Provides data for the SystemEvents.UserPreferenceChanged event.

UserPreferenceChangedEventHandler

Represents the method that will handle the SystemEvents.UserPreferenceChanged event.

UserPreferenceChangingEventArgs

Provides data for the SystemEvents.UserPreferenceChanging event.

UserPreferenceChangingEventHandler

Represents the method that will handle the SystemEvents.UserPreferenceChanging event.