<PackageReference Include="System.Configuration.ConfigurationManager" Version="11.0.0" />

System.Configuration.Internal.InternalConfigHost

namespace System.Configuration.Internal { public interface IInternalConfigRoot { bool IsDesignTime { get; } event InternalConfigEventHandler ConfigChanged; event InternalConfigEventHandler ConfigRemoved; void Init(IInternalConfigHost host, bool isDesignTime); object GetSection(string section, string configPath); string GetUniqueConfigPath(string configPath); IInternalConfigRecord GetUniqueConfigRecord(string configPath); IInternalConfigRecord GetConfigRecord(string configPath); void RemoveConfig(string configPath); } } namespace System.Configuration.Internal { internal sealed class InternalConfigHost : IInternalConfigHost { public bool IsSecondaryRoot(string configPath); public bool IsTrustedConfigPath(string configPath); public bool IsFullTrustSectionWithoutAptcaAllowed(IInternalConfigRecord configRecord); public IDisposable Impersonate(); public void GetRestrictedPermissions(IInternalConfigRecord configRecord, out PermissionSet permissionSet, out bool isHostReady); public InternalConfigHost(); } }