ProtectedConfiguration.ProtectedDataSectionName Campo

Definizione

Nome della sezione dati protetta.

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

Valore del campo

Esempio

Nell'esempio seguente viene illustrato come utilizzare la ProtectedDataSectionName proprietà per recuperare il nome di una sezione dati protetta.

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

Commenti

Si tratta di una variabile stringa costante che contiene il nome della sezione dei dati protetti.

Si applica a

Vedi anche