Approved
Last Updated: 05 Apr 2018 11:52 by ADMIN
ADMIN
Boby
Created on: 28 Dec 2017 12:15
Category: Telerik Document Processing
Type: Bug Report
0
Trial message is added to the document when the source code is rebuilt with activated pass phrase validation
Currently EULA requires Telerik assemblies to be protected against unauthorized redistribution, by following specific guidelines for the different types of technology:
- for WPF: https://docs.telerik.com/devtools/wpf/installation-and-deployment/deploying-telerik-ui/protecting-telerik-assembly
- for ASP.NET AJAX: https://docs.telerik.com/devtools/aspnet-ajax/deployment/protecting-the-telerik-asp.net-ajax-assembly
- for WinForms: https://docs.telerik.com/devtools/winforms/installation-deployment-and-distribution/redistributing-telerik-ui-for-winforms

When the guidelines for WinForms or AJAX are followed (namely the call to ValidatePassPhrase() is uncommented in AssemblyProtection.IsValid() method, the following license message is added to the generated documents:
"This document was generated by a copy of Telerik Document Processing licensed for use only by '<MyApp>'."

Workaround: Set the application name as resource in the Application.Current, using the following code:

new System.Windows.Application();
System.Windows.Application.Current.Resources.Add("Telerik.Windows.Controls.Key", "MyApp");
where 'MyApp' should be replaced with the actual application name. References to PresentationFramework and WindowsBase .NET Framework assemblies should be added in order for this approach to work.
0 comments