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

Im folgenden Beispiel wird gezeigt, 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 geschützten Datenabschnitts enthält.

Gilt für:

Weitere Informationen