How do I license my assembly?
How do I license my assembly?
Please check that your machine has been rightly configured for the specific version from the following KB article. Please use the version number you need in the KB.
http://www.syncfusion.com/support/kb/tag/essential%20studio
The following KB assumes that the user is preparing a C# project.
In order to create a license file for the dll, please follow the below steps.
1) Create a file called licenses.licx in the project directory with the below entry,'Syncfusion.Core.Licensing.LicensedComponent, Syncfusion.Core'
2) Right click on the project in the SolutionExplorer and select 'Add an Existing item'. Choose this file. The .licx file will be added to the project.
3) In the properties of this .licx file, make the 'BuildAction' property to be 'EmbeddedResource'. This will embed the *.dll.licenses created in the obj/debug folder in the dll.
4) Compile the project.
Inorder to check if the license info has been embedded in the dll, please try the Reflector.
Reflector Usage
Select the .NET framework with which your dll has been created and then drag and drop it into the Reflector. As shown in the image, you should see the *.dll.licenses under the Resource node in the tree. When you click on the file, you can see that the Syncfusion licensing information is embedded in that. Please refer the image for more details.
Please refer the below files as attachments to help you.