4 out of 13 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.

  Class Description
Public class IntranetZoneCredentialPolicy Defines a credential policy to be used for resource requests that are made using WebRequest and its derived classes.
Public class PowerModeChangedEventArgs Provides data for the PowerModeChanged event.
Public class Registry Provides RegistryKey objects that represent the root keys in the Windows registry, and static methods to access key/value pairs.
Public class RegistryKey Represents a key-level node in the Windows registry. This class is a registry encapsulation.
Public class SessionEndedEventArgs Provides data for the SessionEnded event.
Public class SessionEndingEventArgs Provides data for the SessionEnding event.
Public class SessionSwitchEventArgs Provides data for the SessionSwitch event.
Public class SystemEvents Provides access to system event notifications. This class cannot be inherited.
Public class TimerElapsedEventArgs Provides data for the TimerElapsed event.
Public class UserPreferenceChangedEventArgs Provides data for the UserPreferenceChanged event.
Public class UserPreferenceChangingEventArgs Provides data for the UserPreferenceChanging event.
  Delegate Description
Public delegate PowerModeChangedEventHandler Represents the method that will handle the PowerModeChanged event.
Public delegate SessionEndedEventHandler Represents the method that will handle the SessionEnded event.
Public delegate SessionEndingEventHandler Represents the method that will handle the SessionEnding event from the operating system.
Public delegate SessionSwitchEventHandler Represents the method that will handle the SessionSwitch event.
Public delegate TimerElapsedEventHandler Represents the method that will handle the TimerElapsed event.
Public delegate UserPreferenceChangedEventHandler Represents the method that will handle the UserPreferenceChanged event.
Public delegate UserPreferenceChangingEventHandler Represents the method that will handle the UserPreferenceChanging event.
  Enumeration Description
Public enumeration PowerModes Defines identifiers for power mode events reported by the operating system.
Public enumeration RegistryHive Represents the possible values for a top-level node on a foreign machine.
Public enumeration RegistryKeyPermissionCheck Specifies whether security checks are performed when opening registry keys and accessing their name/value pairs.
Public enumeration RegistryValueKind Specifies the data types to use when storing values in the registry, or identifies the data type of a value in the registry.
Public enumeration RegistryValueOptions Specifies optional behavior when retrieving name/value pairs from a registry key.
Public enumeration SessionEndReasons Defines identifiers that represent how the current logon session is ending.
Public enumeration SessionSwitchReason Defines identifiers used to represent the type of a session switch event.
Public enumeration UserPreferenceCategory Defines identifiers that represent categories of user preferences.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ