The Licensing process of our ComponentOne controls is fairly simple. The application should have a licenses.licx file containing the licensing information and the license key should be activated on the machine.
The licenses.licx file is created when the control is dragged and dropped on the windows form or webpage. If multiple C1 Controls are used in the application, then entries of these controls are created in the same licensing file in the order they are dropped. The licenses.licx contains information in the Control name, Assembly name, Product Version, Culture, PublicKeyToken order.
For example, the licenses.licx file for C1Barcode control version 2.0.20113.49 contains the following information : C1.Win.C1BarCode.C1BarCode, C1.Win.C1BarCode.2, Version=2.0.20113.49, Culture=neutral, PublicKeyToken=79882d576c6336da If the components are created at run time, you may refer to the steps here to add the licenses.licx file.
Any license key subscription is valid for four trimesters only. For instance if you buy any license key of 2010-V2, then you can use this serial key for controls of version 2010-V2, 2010-V3, 2011-V1, and 2011-V2. If you use this serial key for control of version 2011-V3, then the serial key would expire and nag screen would be recevied on executing the application with ComponentOne controls. To identify the trimester user can check the control version. The center part of the control version identifies the trimester e.g. controls have version like x.x.20102.xxxx, the center number means 2010-V2.
One can check whether license is valid for the installed version or not. You can use the serial key indefinitely ONLY IF you use the builds valid for the subscription. That is, if you have licenses for 2010-V2, then you can use the serial key indefinitely with builds of versions 2010-V2, 2010-V3, 2011-V1 and 2011-V2. But please note any fixes or enhancements will be done in the latest builds only. You will then need to upgrade your subscription. Please contact our Sales department for this.
The license keys should be activated on the development machine. Following are the steps for activating the license keys when you have Internet connection :
Download C1LicenseActivation build from the url - http://prerelease.componentone.com/dotnet20/C1Licensing/
Unzip the zipped file and replace it with the C1LicenseActivation.exe in C:\Program Files\Common Files\Componentone Shared\ folder.
Run Command prompt with administrative rights.
Type the following command : "C:\Program Files\Common Files\ComponentOne Shared\C1LicenseActivation.exe"
Enter the User name, Company name and license key and click on 'Next' button to activate the licenses. Any license key supports upto 2 activations. Please make sure that you deactivate your key whenever you format your machine.
Following are the steps for deactivating the serial key:
Run Command prompt with administrative rights.
Type the following command : "C:\Program Files\Common Files\ComponentOne Shared\C1LicenseActivation.exe" /d
Enter the license key and click on Deactivate button. If internet connection is not available, then please refer to the following link : https://c1verification.componentone.com/webfiles/
We try very hard to make the licensing mechanism as unobtrusive as possible, but problems may occur for a number of reasons. In case you face any problems in licensing, please refer to the list of Troubleshooting solutions available in the documentation. In case the above solutions do not help, you may refer to the following solutions in the order they are given :
Remove the Product Version, Culture and PublicKeyToken entry from the licenses.licx file and rebuild the application.
Alternatively, you can create a new application, drag drop all the controls used in the existing application and copy the licenses.licx file from the new application to existing application. Rebuild and run your application.
In case you have upgraded the controls, then can use the C1ProjectUpdater utility to update your existing C# and VB projects. (For more info on C1ProjectUpdate, refer http://our.componentone.com/2011/02/11/c1projectupdater-utility/)
For Silverlight applications, if you are facing problems even after activating your licenses, then just look for the xaml code c1:C1NagScreen.Nag="True" and remove it from the xaml code. If the product has been activated successfully, the xaml code c1:C1NagScreen.Nag="True" will not be generated automatically once removed. In case of improper activation, the line will be generated automatically on removing.
Similarly, for WinRT applications, if you are facing problems even after activating your licenses, then just look for the xaml code Xaml:C1NagScreen.Nag="True" and remove it from the xaml code. If the above steps fail to resolve your licensing problems, then email it to our Technical Support team (email@example.com).