Interface IRegistryReader
- Namespace
- Archiver.Core.Interfaces
- 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 interface IRegistryReader
Methods
GetDword(string, string)
Reads a REG_DWORD value, or null if the key/value is absent or the wrong type.
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.
string[]? GetMultiString(string keyPath, string valueName)
Parameters
Returns
- string[]