Ejemplo n.º 1
0
        public virtual string EncryptSection(string clearXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection)
        {
            if (protectedSection == null)
            {
                throw new ArgumentNullException("protectedSection");
            }

            return(protectedSection.EncryptSection(clearXml, protectionProvider));
        }
Ejemplo n.º 2
0
 string IInternalConfigHost.EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider,
                                           ProtectedConfigurationSection protectedConfigSection)
 {
     return(ProtectedConfigurationSection.EncryptSection(clearTextXml, protectionProvider));
 }