title: Access to the path denied [Windows 10]
body: <p>Doing below action in C# windows application for decrypting and editing xml file, but always get "Access to the path 'C:\Program Files\...\Demo.xml' is denied." at save file in Windows 10.</p>
  
  <pre><code>                XmlDocument xmldoc = new XmlDocument();
                  string xml_path = Utility.Decrypt_xml_files();
                  xmldoc.Load(xml_path);
  
                  //XmlNode xmlnode = xmldoc.SelectNodes("Programs/Code")[glbCard - 1];
                  XmlNode xmlnode = xmldoc.GetElementsByTagName("Code")[glbCard - 1];
                  xmlnode.SelectSingleNode("Revision").InnerText = txtRevision.Text;
  
                  // save
                  xmldoc.Save(xml_path);
  </code></pre>