System.Configuration.ProtectedConfigurationSection.FormatEncryptedSection C# (CSharp) Метод

FormatEncryptedSection() статический приватный Метод

static private FormatEncryptedSection ( string encryptedXml, string sectionName, string providerName ) : string
encryptedXml string
sectionName string
providerName string
Результат string
        internal static string FormatEncryptedSection(string encryptedXml, string sectionName, string providerName) {
            return String.Format(CultureInfo.InvariantCulture, EncryptedSectionTemplate,
                        sectionName,    // The section to encrypt
                        BaseConfigurationRecord.KEYWORD_PROTECTION_PROVIDER, // protectionProvider keyword
                        providerName,  // The provider name
                        encryptedXml   // the encrypted xml
                        );
        }