IInternalConfigHost.EncryptSection Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Verschlüsselt einen Konfigurationsabschnitt und gibt ihn als Zeichenfolge zurück.
public:
System::String ^ EncryptSection(System::String ^ clearTextXml, System::Configuration::ProtectedConfigurationProvider ^ protectionProvider, System::Configuration::ProtectedConfigurationSection ^ protectedConfigSection);
public string EncryptSection (string clearTextXml, System.Configuration.ProtectedConfigurationProvider protectionProvider, System.Configuration.ProtectedConfigurationSection protectedConfigSection);
abstract member EncryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
Public Function EncryptSection (clearTextXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfigSection As ProtectedConfigurationSection) As String
Parameter
- clearTextXml
- String
Eine XML-Zeichenfolge, die einen zu verschlüsselnden Konfigurationsabschnitt darstellt.
- protectionProvider
- ProtectedConfigurationProvider
Das ProtectedConfigurationProvider-Objekt.
- protectedConfigSection
- ProtectedConfigurationSection
Das ProtectedConfigurationSection-Objekt.
Gibt zurück
Ein als Zeichenfolge dargestellter verschlüsselter Konfigurationsabschnitt.
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für