ProtectedConfigurationSection::DefaultProvider Property

 

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

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
[ConfigurationPropertyAttribute("defaultProvider", DefaultValue = "RsaProtectedConfigurationProvider")]
property String^ DefaultProvider {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The name of the default ProtectedConfigurationProvider object in the Providers collection property.

The following code example shows how to use the DefaultProvider property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: