Licence number visible in the DLL

Hi there,
I’ve used a “embedded resource” file type for Aspose.Words.lic, and I realize that when I open my DLL with notepad, this file content is fully visible/readable. How can I encrypt that file ?
Best regards

@PhilTheGap,

In order to secure your license and prevent it from being stolen or leaked, please check the License Protection section on our website and feel free to let us know if you need further assistance.

Thank you for your answer !
Best regards

But if the “key” is included in the source code, why bather encrypting the file?

Yes you are right, but it is better than nothing. Otherwise, you can use a Dotfuscator.

Hi Magnus,
Thanks for your remark. The code above is just an example that shows the possible way of encryption. You can use any other algorithm to encrypt the license file. Also obfuscation of your code is a possible way to prevent it’s reverse-engineering.
Best regards,