Microsoft.Win32 Namespace
This namespace provides classes that allow you to interact with the Windows registry, manage the system event log, and perform other common Windows-specific operations. It bridges managed code with the underlying Windows API.
Key Classes
-
Registry
Provides static properties and methods for accessing the Windows registry.
-
RegistryKey
Represents a key in the Windows registry. Allows for reading and writing values and creating or deleting subkeys.
-
RegistryValueKind
Specifies the data type of a registry value.
-
EventLog
Provides methods to create, read, write, and delete entries in the Windows event log.
-
SystemEvents
Provides events that notify your application of system-wide changes, such as display settings, power status, and user interface changes.
-
Process
Represents a running process and provides methods to start, stop, and manage processes.