ProtectedConfiguration.ProtectedDataSectionName Campo

Definição

O nome da secção de dados protegidos.

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

Valor de Campo

Exemplos

O exemplo seguinte mostra como usar a ProtectedDataSectionName propriedade para recuperar o nome de uma secção de dados protegida.

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

Observações

Esta é uma variável de string constante que contém o nome da secção de dados protegidos.

Aplica-se a

Ver também