EncryptSection() static private method

static private EncryptSection ( string clearXml, ProtectedConfigurationProvider provider ) : string
clearXml string
provider ProtectedConfigurationProvider
return string
コード例 #1
0
ファイル: WebConfigurationHost.cs プロジェクト: vargaz/mono
		public virtual string DecryptSection (string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection)
		{
			if (protectedSection == null)
				throw new ArgumentNullException ("protectedSection");

			return protectedSection.EncryptSection (encryptedXml, protectionProvider);
		}
コード例 #2
0
		string IInternalConfigHost.EncryptSection (string clearXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection)
		{
			return protectedSection.EncryptSection (clearXml, protectionProvider);
		}
コード例 #3
0
 string IInternalConfigHost.EncryptSection(string clearXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection)
 {
     return(protectedSection.EncryptSection(clearXml, protectionProvider));
 }