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

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 ConfigurationCollectionAttribute : Attribute { public Type ItemType { get; } public string AddItemName { get; set; } public string RemoveItemName { get; set; } public string ClearItemsName { get; set; } public ConfigurationElementCollectionType CollectionType { get; set; } public ConfigurationCollectionAttribute(Type itemType); } } namespace System.Configuration { public sealed class DpapiProtectedConfigurationProvider : ProtectedConfigurationProvider { public bool UseMachineProtection { get; } public DpapiProtectedConfigurationProvider(); } }