Table of Contents

Class GroupPolicyService

Namespace
Archiver.Core.Services
Assembly
Archiver.Core.dll

Reads Pakko's Group Policy settings (T-F51) from HKLM\Software\Policies\Pakko. Both Archiver.App (via DI) and Archiver.Shell (no DI container) call Load() once at startup and thread the resulting GroupPolicyOptions into every consumer. Never throws — an absent key, an absent registry hive entirely, or a malformed value all fall back to today's shipped (unrestricted) behavior.

public static class GroupPolicyService
Inheritance
GroupPolicyService
Inherited Members

Methods

Load()

Loads policy from the real Windows registry.

public static GroupPolicyOptions Load()

Returns

GroupPolicyOptions

Load(IRegistryReader)

Loads policy via the given reader — the seam tests use to avoid touching the real registry.

public static GroupPolicyOptions Load(IRegistryReader reader)

Parameters

reader IRegistryReader

Returns

GroupPolicyOptions