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

IPersistComponentSettings

public interface IPersistComponentSettings
Defines standard functionality for controls or libraries that store and retrieve application settings.
namespace System.Configuration { public interface IPersistComponentSettings { bool SaveSettings { get; set; } string SettingsKey { get; set; } void LoadComponentSettings(); void SaveComponentSettings(); void ResetComponentSettings(); } }