Επεξεργασία

Κοινή χρήση μέσω


Microsoft.Win32 Namespace

Provides two types of classes: those that handle events raised by the operating system and those that manipulate the system registry.

Classes

CommonDialog

An abstract base class for displaying common Win32 dialogs.

CommonItemDialog

Provides a common base class for wrappers around both the OpenFile and SaveFile common dialog boxes. Derives from CommonDialog. This class is not intended to be derived from except by the OpenFileDialog and SaveFileDialog classes.

FileDialog

An abstract base class that encapsulates functionality that is common to file dialogs, including OpenFileDialog and SaveFileDialog.

FileDialogCustomPlace

Represents an entry in a FileDialog custom place list.

FileDialogCustomPlaces

Defines the known folders for custom places in file dialog boxes.

IntranetZoneCredentialPolicy

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

OpenFileDialog

Represents a common dialog box that allows a user to specify a filename for one or more files to open.

OpenFolderDialog

Represents a common dialog box that allows the user to open one or more folders. This class cannot be inherited.

PowerModeChangedEventArgs

Provides data for the PowerModeChanged event.

Registry

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

RegistryAclExtensions

Provides Windows-specific static extension methods for manipulating Access Control List (ACL) security attributes for registry keys.

RegistryKey

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

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.

SessionEndedEventArgs

Provides data for the SessionEnded event.

SessionEndingEventArgs

Provides data for the SessionEnding event.

SessionSwitchEventArgs

Provides data for the SessionSwitch event.

SystemEvents

Provides access to system event notifications. 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.

Enums

PowerModes

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

RegistryHive

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

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.

SessionEndReasons

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

SessionSwitchReason

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

UserPreferenceCategory

Defines identifiers that represent categories of user preferences.

Delegates

PowerModeChangedEventHandler

Represents the method that will handle the PowerModeChanged event.

SessionEndedEventHandler

Represents the method that will handle the SessionEnded event.

SessionEndingEventHandler

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

SessionSwitchEventHandler

Represents the method that will handle the SessionSwitch event.

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.