<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0-preview.1.21102.12" />

ProtectedConfigurationSection

Provides programmatic access to the configProtectedData configuration section. This class cannot be inherited.
public string DefaultProvider { get; set; }

Gets or sets the name of the default ProtectedConfigurationProvider object in the Providers collection property.

Gets a ProviderSettingsCollection collection of all the ProtectedConfigurationProvider objects in all participating configuration files.

Initializes a new instance of the ProtectedConfigurationSection class using default settings.