Installing License Key
Starting with the 2025 Q1 release, the UI components from the WPF library require activation through a license key (trial or commercial). This article describes how to download your personal license key and use it to activate the WPF UI components.
An invalid license results in errors and warnings during build and run-time indicators such as watermarks and banners.
Downloading the License Key
To download a license key for Telerik UI for WPF, you must have either a developer or trial license. If you are new to Telerik UI for WPF, sign up for a free trial first, and then follow the steps below.
Go to the License Keys page in your Telerik account.
-
Click the Download License Key button.
The Progress Control Panel and the Visual Studio Extensions will automatically download and store your license key in the
%appdata%\Telerik
directory. This makes it available for all projects developed on the local machine.
Activating the UI for WPF Components
To activate the UI for WPF components:
Copy the downloaded
telerik-license.txt
license key file to your home directory (%appdata%\Telerik
). This makes it available for all projects developed on the local machine.Alternatively, copy the
telerik-license.txt
license key file to the root folder of your project. This makes the license key available only to this project. Do not commit the file to source control as this is your personal license key.
When you build the project, the Telerik.Licensing
NuGet package automatically locates the license file and uses it to activate the product. If your project doesn’t use NuGet packages, see Adding a License Key to Projects without NuGet References.
Adding a License Key to Projects without NuGet References
Telerik strongly recommends the use of NuGet packages whenever possible. Only include the license key as a code snippet when NuGet packages are not an option.
If you cannot use NuGet packages in your project, add the license as a code snippet:
Go to the License Keys page in your Telerik account.
On the Progress® Telerik® UI for WPF row, click the View key link in the SCRIPT KEY column.
Copy the C# code snippet into a new file, for example,
TelerikLicense.cs
.-
Add the
TelerikLicense.cs
file to your project.Do not publish the license key code snippet in publicly accessible repositories. This is your personal license key.
Updating Your License Key
Whenever you purchase a new Telerik UI for WPF license or renew an existing one, always download a new license key. The new license key includes information about all previous license purchases. This process is referred to as a license key update. Once you have the new license key, use it to activate the components.