System.Web.Configuration.WebConfigurationHost.EncryptSection C# (CSharp) Method

EncryptSection() public method

public EncryptSection ( string clearXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection ) : string
clearXml string
protectionProvider System.Configuration.ProtectedConfigurationProvider
protectedSection System.Configuration.ProtectedConfigurationSection
return string
		public virtual string EncryptSection (string clearXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection)
		{
			if (protectedSection == null)
				throw new ArgumentNullException ("protectedSection");

			return protectedSection.EncryptSection (clearXml, protectionProvider);
		}