ProtectedConfigurationProviderCollection Class
Assembly: System.Configuration (in system.configuration.dll)
'Declaration Public Class ProtectedConfigurationProviderCollection Inherits ProviderCollection 'Usage Dim instance As ProtectedConfigurationProviderCollection
public class ProtectedConfigurationProviderCollection extends ProviderCollection
public class ProtectedConfigurationProviderCollection extends ProviderCollection
The Providers property of the ProtectedConfiguration class is a ProtectedConfigurationProviderCollection of all protected-configuration providers available to your application.
You can encrypt sections of a configuration file in order to protect sensitive information used by your application. This improves security by making it difficult for unauthorized access even if an attacker gains access to your configuration file.
The .NET Framework includes two protected configuration providers that can be used to encrypt sections of a configuration file, the RSAProtectedConfigurationProvider, which uses the RSACryptoServiceProvider to encrypt configuration sections, and the DPAPIProtectedConfigurationProvider, which uses the Windows Data Protection API (DPAPI) to encrypt configuration sections.
You may have a requirement to encrypt sensitive information using an algorithm other than the RSA or DPAPI providers. In this case, you can build your own custom Protected Configuration provider. The ProtectedConfigurationProvider is an abstract base class that you must inherit from in order to create your own protected-configuration provider.
For more information about Protected Configuration, see Encrypting Configuration Information Using Protected Configuration.
System.Configuration.Provider.ProviderCollection
System.Configuration.ProtectedConfigurationProviderCollection
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.