Aracılığıyla paylaş


DelegatingConfigHost.DecryptSection Yöntem

Tanım

Şifrelenmiş yapılandırma bölümünün şifresini çözer.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

public:
 virtual System::String ^ DecryptSection(System::String ^ encryptedXml, System::Configuration::ProtectedConfigurationProvider ^ protectionProvider, System::Configuration::ProtectedConfigurationSection ^ protectedConfigSection);
public virtual string DecryptSection (string encryptedXml, System.Configuration.ProtectedConfigurationProvider protectionProvider, System.Configuration.ProtectedConfigurationSection protectedConfigSection);
abstract member DecryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
override this.DecryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
Public Overridable Function DecryptSection (encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfigSection As ProtectedConfigurationSection) As String

Parametreler

encryptedXml
String

Yapılandırma dosyasının şifrelenmiş bölümü.

protectionProvider
ProtectedConfigurationProvider

Korumalı yapılandırma verilerini şifreleyen ve şifresini çözen sağlayıcıları içeren bir nesne.

protectedConfigSection
ProtectedConfigurationSection

Yapılandırma bölümüne programatik erişim configProtectedData sağlayan bir nesne.

Döndürülenler

Şifresi çözülmüş yapılandırma bölümünü temsil eden bir dize.

Uygulamalar

Şunlara uygulanır