ProtectedProviderSettings
Represents a group of configuration elements that configure the providers for the <configProtectedData> configuration section.
namespace System.Configuration
{
public class ProtectedProviderSettings : ConfigurationElement
{
private readonly ConfigurationProperty _propProviders = new ConfigurationProperty(null, typeof(ProviderSettingsCollection), null, ConfigurationPropertyOptions.IsDefaultCollection);
private readonly ConfigurationPropertyCollection _properties;
protected internal override ConfigurationPropertyCollection Properties => _properties;
[ConfigurationProperty("", IsDefaultCollection = true, Options = ConfigurationPropertyOptions.IsDefaultCollection)]
public ProviderSettingsCollection Providers {
get {
return (ProviderSettingsCollection)base[_propProviders];
}
}
public ProtectedProviderSettings()
{
_properties = new ConfigurationPropertyCollection {
_propProviders
};
}
}
}