DelegatingConfigHost.EncryptSection Methode

Definitie

Hiermee wordt een sectie van een configuratieobject versleuteld.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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

Parameters

clearTextXml
String

Een sectie van de configuratie die niet is versleuteld.

protectionProvider
ProtectedConfigurationProvider

Een object met de providers die beveiligde configuratiegegevens versleutelen en ontsleutelen.

protectedConfigSection
ProtectedConfigurationSection

Een object dat programmatische toegang biedt tot de configProtectedData configuratiesectie.

Retouren

Een tekenreeks die een versleutelde sectie van het configuratieobject vertegenwoordigt.

Implementeringen

Van toepassing op