Class Win32RegistryReader
- Namespace
- Archiver.Core.Services
- Assembly
- Archiver.Core.dll
Minimal seam over the Windows registry for GroupPolicyService (T-F51) — kept deliberately small so tests use a hand-rolled fake instead of a mocking library (none is used in this repo). Both members return null for an absent key/value or a value of the wrong registry type; implementations never throw.
public sealed class Win32RegistryReader : IRegistryReader
- Inheritance
-
Win32RegistryReader
- Implements
- Inherited Members
Methods
GetDword(string, string)
Reads a REG_DWORD value, or null if the key/value is absent or the wrong type.
public int? GetDword(string keyPath, string valueName)
Parameters
Returns
- int?
GetMultiString(string, string)
Reads a REG_MULTI_SZ value, or null if the key/value is absent or the wrong type.
public string[]? GetMultiString(string keyPath, string valueName)
Parameters
Returns
- string[]