ProtectedConfiguration.DefaultProvider Property

Definition

Gets the name of the default protected-configuration provider.

public:
 static property System::String ^ DefaultProvider { System::String ^ get(); };
public static string DefaultProvider { get; }
static member DefaultProvider : string
Public Shared ReadOnly Property DefaultProvider As String

Property Value

The name of the default protected-configuration provider.

Remarks

The default provider is identified by the defaultProvider attribute of the <configProtectedData> configuration-file element. The value must correspond to the name of one of the providers added in the <providers> subsection of the <configProtectedData> section. The <configProtectedData> section can also be accessed through an instance of the ProtectedConfigurationSection class.

Applies to

See also