IInternalConfigHost.DecryptSection Metod
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.
Dekrypterar ett krypterat konfigurationsavsnitt och returnerar det som en sträng.
public:
System::String ^ DecryptSection(System::String ^ encryptedXml, System::Configuration::ProtectedConfigurationProvider ^ protectionProvider, System::Configuration::ProtectedConfigurationSection ^ protectedConfigSection);
public string DecryptSection(string encryptedXml, System.Configuration.ProtectedConfigurationProvider protectionProvider, System.Configuration.ProtectedConfigurationSection protectedConfigSection);
abstract member DecryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
Public Function DecryptSection (encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfigSection As ProtectedConfigurationSection) As String
Parametrar
- encryptedXml
- String
En krypterad XML-sträng som representerar ett konfigurationsavsnitt.
- protectionProvider
- ProtectedConfigurationProvider
Objektet ProtectedConfigurationProvider.
- protectedConfigSection
- ProtectedConfigurationSection
Objektet ProtectedConfigurationSection.
Returer
Ett dekrypterat konfigurationsavsnitt som en sträng.