Export (0) Print
Expand All

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 CommonDialog An abstract base class for displaying common Win32 dialogs.
Public class FileDialog An abstract base class that encapsulates functionality that is common to file dialogs, including OpenFileDialog and SaveFileDialog.
Public class FileDialogCustomPlace Represents an entry in a FileDialog custom place list.
Public class FileDialogCustomPlaces Defines the known folders for custom places in file dialog boxes.
Public class IntranetZoneCredentialPolicy Defines a credential policy to be used for resource requests that are made using WebRequest and its derived classes.
Public class OpenFileDialog Represents a common dialog box that allows a user to specify a filename for one or more files to open.
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 SaveFileDialog Represents a common dialog that allows the user to specify a filename to save a file as. SaveFileDialog cannot be used by an application that is executing under partial trust.
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 RegistryOptions Specifies options to use when creating a registry key.
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 RegistryView Specifies which registry view to target on a 64-bit operating system.
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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft