License Activation
Load and apply the license (.lic) into your application using the SetLicense
method for each Wordize module. License activation must precede all other SDK operations.
Follow this example if the license file is in the application directory:
Wordize.Settings.SetLicense("Wordize.Core.NET.lic");
For more information on the different ways to activate a license, see the Documentation.
Activation of Multiple Licenses
To activate multiple licenses:
- Place all license files (.lic) into your project directory.
- Call the
SetLicense
method for each module using the corresponding license file:Wordize.Settings.SetLicense("Wordize.Core.NET.lic"); Wordize.Settings.SetLicense("Wordize.Web.NET.lic");
- To avoid activation errors, make sure you have specified the license files correctly.
If you are using multiple licenses at the same time, ensure that all of them remain active (that is, they have not expired).
Security Requirements
Wordize license (.lic) files are XML-based, digitally signed documents that confirm your usage rights. To ensure security compliance, store such files in a secure location to prevent unauthorized access. It is recommended that you use licenses as an embedded resource. For example, in .NET projects, add licenses to a separate folder and set the build action to ‘Embedded Resource’. This ensures that the licenses are embedded as part of your application binary. If external storage is required, use a secure directory with limited access rights. Avoid hard-coding absolute paths. Instead, use relative paths or environment variables such as %WORDIZE_LICENSE_PATH%
to provide flexibility in deployment environments (dev, staging, production). For cloud applications, use secure storage solutions such as Azure Key Vault, AWS Secrets Manager, or environment-specific configuration files to embed license content at runtime. Never place license files in public repositories - use .gitignore
to exclude them.
Your license files should not be distributed natively as part of your final solution. To protect license files from unauthorized access, we also recommend encrypting their contents in your application. Please refer to the Documentation for details on how to do this.
Possible Problems with License Activation
If you are unable to activate the license file, try the following steps:
- Check the license file extension. When you downloaded the license from a website, it may have happened that your browser recognized the license file as an XML file and automatically appended the .xml extension to it. If you see that your license file name ends with the double extension .lic.xml, delete the .xml at the end and leave only .lic.
- Make sure you apply the license to the appropriate version of Wordize SDK, i.e. the version that was released during your subscription period.
- Make sure your license file (.lic) is accessible to your application. The file should either be placed in the same directory as your application’s executable or included as an embedded resource in your project. Also check file and directory permissions.
- Make sure you are referring to the exact module you want to activate.
- Make sure your license has not expired.
- Make sure you call the
SetLicense
method before using any Wordize classes.
If the problem persists, contact support team on Forum or write an email to support@wordize.com