Share via


ProtectedConfiguration.ProtectedDataSectionName Feld

Definition

Der Name des geschützten Datenabschnitts.

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

Feldwert

Beispiele

Das folgende Beispiel zeigt, wie Sie die ProtectedDataSectionName -Eigenschaft verwenden, um den Namen eines geschützten Datenabschnitts abzurufen.

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

Hinweise

Dies ist eine konstante Zeichenfolgenvariable, die den Namen des Abschnitts für geschützte Daten enthält.

Gilt für:

Weitere Informationen