// Add relevant information to the XML document XmlElement root = licenseDoc.DocumentElement; root.AppendChild(CreateElement("userDetails", userDetails)); root.AppendChild(CreateElement("softwareVersion", softwareVersion)); root.AppendChild(CreateElement("licenseType", licenseType));
Offline License Verification
// Sign the XML document with a digital signature SignedXml signedXml = new SignedXml(); signedXml.SigningKey = new RSACryptoServiceProvider(); signedXml.ComputeSignature(licenseDoc); Easyworship 7 Offline License File Download
// Verify the digital signature SignedXml signedXml = new SignedXml(); signedXml.CheckSignature(licenseDoc); // Add relevant information to the XML document