<PackageReference Include="System.Configuration.ConfigurationManager" Version="10.0.0-rc.1.25451.107" />

System.Configuration.DpapiProtectedConfigurationProvider

Provides a ProtectedConfigurationProvider object that uses the Windows data protection API (DPAPI) to encrypt and decrypt configuration data.
namespace System.Configuration { public sealed class DpapiProtectedConfigurationProvider : ProtectedConfigurationProvider { public bool UseMachineProtection { get; } public DpapiProtectedConfigurationProvider(); } }