Example #1
0
        public static void LoadFileToXmlDoc(string filePath, string password, out XmlDocument xmlDoc)
        {
            if (File.Exists(filePath))
            {
                xmlDoc = AESManager.DecryptFileToXmlDocument(filePath, password);
            }
            else
            {
                xmlDoc = CreateEntryXmlDocument();
            }

            Console.WriteLine(xmlDoc.InnerXml);
        }