New to Telerik Document Processing? Download free 30-day trial

Redistributing Telerik Document Processing

Telerik Document Processing is part of several Telerik bundles and is licensed under the conditions with which you've obtained the product. This topic contains technical guidelines for protecting the Telerik Document Processing binaries when redistributing them with your integrated product.

UI Components suite Guidelines
UI for ASP.NET AJAX Protecting the Telerik ASP.NET AJAX Assemblies
UI for WPF Protecting the Telerik UI for WPF Assemblies
UI for WinForms Protecting the Telerik UI for WinForms Assemblies
UI for ASP.NET MVC ASP.NET MVC Document Processing Overview
UI for ASP.NET Core ASP.NET Core Document Processing Overview
UI for Blazor Blazor Document Processing Overview
UI for WinUI WinUI Document Processing Overview
UI for Silverlight (Discontinued) Protecting the Telerik UI for Silverlight Assemblies
UI for .NET MAUI
UI for Xamarin

Protecting the Telerik dlls is required only with versions prior to 2025 Q2 (2025.2.520). With the introduction of our new licensing mechanism, Telerik UI suites have simplified deployment requirements. Starting with 2025 Q2, users are no longer required to protect the Telerik assemblies. Instead, the respective Telerik product now requires installing a license key. Applications without a valid license will continue to function normally, but will contain a watermark.

Using the Telerik Document Processing Libraries in Your Solutions

In order to include the Telerik Document Processing libraries in your application, you should build the source code as described below. The source code of the Document Processing libraries is distributed together with the above-listed products' source code and is available for download from the client's account.

For the sake of the example it is assumed that the source distribution ZIP file is extracted in C:\DPL.

Instructions

1. Open C:\DPL\Documents\Licensing\AssemblyProtection.cs in a text editor (notepad, Visual Studio, etc.). In versions of the suite prior to R2 2016, the path is C:\DPL\Documents\Core\Core\Licensing\AssemblyProtection.cs.

2. Uncomment the following line:

Before

public static bool IsValid() 
{ 
    // Uncomment the following line 
    // return ValidatePassPhrase(); 
    return true; 
} 

After

public static bool IsValid() 
{ 
    // Uncomment the following line 
    return ValidatePassPhrase(); 
} 
3. Change the ApplicationName constant to match the name of your application:

Before

internal const string ApplicationName = "MyApp"; 

After

internal const string ApplicationName = "Sample Application Name v2.0 (tm)"; 

4. Save AssemblyProtection.cs and rebuild.

5. In your application replace the existing references to the Telerik assemblies with the ones built from the source code.

6. If you run the application now you should get an exception with message “This version of Product is licensed only for use by Sample Application Name v2.0 (tm)”. Note that “Sample Application Name v2.0 (tm)” will be replaced with the value of the ApplicationName constant.

In this article