Επεξεργασία

Κοινή χρήση μέσω


ProtectedConfiguration.ProtectedDataSectionName Field

Definition

The name of the protected data section.

public: System::String ^ ProtectedDataSectionName;
public const string ProtectedDataSectionName;
val mutable ProtectedDataSectionName : string
Public Const ProtectedDataSectionName As String 

Field Value

Examples

The following example shows how to use the ProtectedDataSectionName property to retrieve the name of a protected data section.

// Get the protected section name.
string protectedSectionName =
    ProtectedConfiguration.ProtectedDataSectionName;
Console.WriteLine(
    "Protected section name: {0}",
     protectedSectionName);
' Get the Rsa provider name.
Dim protectedSectionName As String = _
ProtectedConfiguration.ProtectedDataSectionName
Console.WriteLine( _
"Protected section name: {0}", protectedSectionName)

Remarks

This is a constant string variable that contains the name of the protected data section.

Applies to

See also