ProtectedConfiguration.ProtectedDataSectionName Fält

Definition

Namnet på avsnittet med skyddade data.

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

Fältvärde

Exempel

I följande exempel visas hur du använder ProtectedDataSectionName egenskapen för att hämta namnet på ett skyddat dataavsnitt.

// 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)

Kommentarer

Det här är en konstant strängvariabel som innehåller namnet på avsnittet med skyddade data.

Gäller för

Se även