System.Configuration.ProtectedConfigurationSection.DecryptSection C# (CSharp) 메소드

DecryptSection() 정적인 개인적인 메소드

static private DecryptSection ( string encryptedXml, ProtectedConfigurationProvider provider ) : string
encryptedXml string
provider ProtectedConfigurationProvider
리턴 string
        internal static string DecryptSection(string encryptedXml, ProtectedConfigurationProvider provider) {
            XmlDocument doc = new XmlDocument();
            doc.LoadXml(encryptedXml);
            XmlNode resultNode = provider.Decrypt(doc.DocumentElement);
            return resultNode.OuterXml;
        }

Usage Example

		string IInternalConfigHost.DecryptSection (string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection)
		{
			return protectedSection.DecryptSection (encryptedXml, protectionProvider);
		}
All Usage Examples Of System.Configuration.ProtectedConfigurationSection::DecryptSection