ProtectedConfiguration.RsaProviderName Field


The name of the RSA provider.

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

public const string RsaProviderName

Field Value

Type: System.String

This a constant string variable that contains the name of the RSA provider made available by the system to protect a configuration section.

The following example shows how to use the RsaProviderName property to retrieve the name of the current RSA provider.

// Get the Rsa provider name.
string rsaProviderName =
    "Rsa provider name: {0}",

.NET Framework
Available since 2.0
Return to top