Skip to content

Commit 1eef9a9

Browse files
committed
KB: Add OpenEdge License Key
1 parent 01edc4b commit 1eef9a9

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
title: Set Your License Key in OpenEdge Project
3+
description: Learn how to add your Telerik UI for .NET WinForms license OpenEdge environment.
4+
type: how-to
5+
page_title: Set Your License Key in OpenEdge Project
6+
slug: add-license-as-snippet-ci-cd
7+
tags: licensing , winforms,wf, cd, cd, code, snippet, openedge
8+
res_type: kb
9+
---
10+
11+
## Environment
12+
13+
| Product | Version
14+
| ---- | ---- |
15+
| Telerik UI for .NET WinForms | 2025 Q1 or later |
16+
17+
## Description
18+
19+
I work in a OpenEdge environment and need to activate my Telerik UI for .NET WinForms license key. My projects, however, do not use NuGet packages. How can I activate the Telerik UI for .NET WinForms without using the `Telerik.Licensing` package?
20+
21+
## Solution
22+
23+
Telerik strongly recommends the use of NuGet packages whenever possible. If NuGet is not an option, configure your CI/CD tools to create a C# license file during build:
24+
25+
In the following tutorial we will demonstrate how to set-up your license key in OpenEdge environment.
26+
27+
1. Go to the [Setting Up Your Telerik UI for .NET WinForms License Key](https://docs.telerik.com/devtools/winforms/licensing/license-key#downloading-the-license-key) and follow the first two sections of the article.
28+
1. Downloading the License Key
29+
1. Activating the Telerik UI for .NET WinForms Components
30+
31+
1. Go to the [License Keys page](https://www.telerik.com/account/your-licenses/license-keys) in your Telerik account.
32+
33+
1. On the Telerik UI for .NET WinForms row, click the **View key** link in the **SCRIPT KEY** column. Copy only the string in the first Telerik.Licensing.EvidenceAttribute("key").
34+
35+
![copy-license-key](images/add-license-key-openedge.png)
36+
37+
1. Now we need to register the copied license key above.
38+
39+
````ABL
40+
41+
CONSTRUCTOR PUBLIC Form1 ( ):
42+
// ActivePerpetual script key
43+
Telerik.Licensing.TelerikLicensing:Register("Your License Key").
44+
45+
InitializeComponent().
46+
47+
THIS-OBJECT:ComponentsCollection:Add(THIS-OBJECT:components).
48+
CATCH e AS Progress.Lang.Error:
49+
UNDO, THROW e.
50+
END CATCH.
51+
52+
END CONSTRUCTOR.
53+
````
54+
55+
1. Add a reference to the `Telerik.Licensing.Runtime.dll`.
56+
57+
>Do not publish the script license key snippet in publicly accessible repositories. This is your personal license key.
58+
59+
60+
## See Also
61+
62+
* [Setting Up Your License Key]({%slug license-key%})
63+
* [License Activation Errors and Warnings]({%slug license-errors-warnings%})
64+
* [Frequently Asked Questions about Your Telerik UI for .NET WinForms License Key]({%slug licensing-faq%})
65+
* [Adding the License Key to CI Services]({%slug add-license-to-ci-cd%})
88 KB
Loading

0 commit comments

Comments
 (0)