How to encryptate a XML file to be used as a license key of a C# application ?

Eduardo Fuerte
Eduardo Fuerte used Ask the Experts™
Hi Experts

I'm planing to give an XML archive to be saved at the application folder where the .EXE will remain

This XML contains the key of perpetual application's use, with the name and other informations about the user. If something is changed in this XML file the license no longer works out.

Is it possible to "encryptate" this file to be opened in a manner it could be "desincryptated" and read when the user enter the application to check license?

If this is not a good way in doing that could you suggest another?

Thanks in advance!
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior .Net Consultant
Top Expert 2016
Eduardo FuerteDeveloper and Analyst


Really a complete and very professional solution!

Thanks a lot.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial