ProtectedConfiguration.ProtectedDataSectionName Fält
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.