If you want to check if an XML is not changed, you can sign an XML file. Following Code show you how to sign a XML document. X509Certificate2 cert = loadCertifate(); XmlDocument doc = new XmlDocument (); doc.PreserveWhitespace = true ; doc.Load( @"c...