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