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.
An abstract base class for displaying common Win32 dialogs.
Represents an entry in a FileDialog custom place list.
Defines the known folders for custom places in file dialog boxes.
Defines a credential policy to be used for resource requests that are made using WebRequest and its derived classes.
Represents a common dialog box that allows a user to specify a filename for one or more files to open.
Provides data for the PowerModeChanged event.
Provides RegistryKey objects that represent the root keys in the Windows registry, and
Represents a key-level node in the Windows registry. This class is a registry encapsulation.
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.
Provides data for the SessionEnded event.
Provides data for the SessionEnding event.
Provides data for the SessionSwitch event.
Provides access to system event notifications. This class cannot be inherited.
Provides data for the TimerElapsed event.
Provides data for the UserPreferenceChanged event.
Provides data for the UserPreferenceChanging event.
Defines identifiers for power mode events reported by the operating system.
Represents the possible values for a top-level node on a foreign machine.
Specifies whether security checks are performed when opening registry keys and accessing their name/value pairs.
Specifies options to use when creating a registry key.
Specifies the data types to use when storing values in the registry, or identifies the data type of a value in the registry.
Specifies optional behavior when retrieving name/value pairs from a registry key.
Specifies which registry view to target on a 64-bit operating system.
Defines identifiers that represent how the current logon session is ending.
Defines identifiers used to represent the type of a session switch event.
Defines identifiers that represent categories of user preferences.
Represents the method that will handle the PowerModeChanged event.
Represents the method that will handle the SessionEnded event.
Represents the method that will handle the SessionEnding event from the operating system.
Represents the method that will handle the SessionSwitch event.
Represents the method that will handle the TimerElapsed event.
Represents the method that will handle the UserPreferenceChanged event.
Represents the method that will handle the UserPreferenceChanging event.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.