Skip to content

Commit 5040057

Browse files
authored
Merge pull request #752 from telerik/nkaraiva/license-key-updates
small fixes
2 parents 0f09d6e + 44844b6 commit 5040057

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

licensing/license-key.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,29 +81,27 @@ If you add the Telerik components to your project by referencing the Telerik ass
8181
![Download a Telerik UI for WinForms Script Key](./images/download-script-key.png)
8282

8383
1. A new Script Key window is shown with your C#/VB Script License Key. The code snippet from the Script Key contains an assembly attribute called EvidenceAttribute that holds information about the license key.
84-
- For C#: Copy the C# code snippet into a new file, for example, `TelerikLicense.cs`.
85-
- For VB: Copy the VB code snippet into a new file, for example, `TelerikLicense.vb`.
84+
- For C#: Copy the C# code snippet into a new file, for example, `TelerikLicense.cs`.
85+
- For VB: Copy the VB code snippet into a new file, for example, `TelerikLicense.vb`.
8686

8787
1. Add the `TelerikLicense.cs` (or `TelerikLicense.vb`) file to your project.
8888

8989
>caption TelerikLicense.cs file example using Script Key
9090
9191
````C#
92+
[assembly: global::Telerik.Licensing.EvidenceAttribute("your-WINFORMS-script-key-here")]
9293

93-
[assembly: global::Telerik.Licensing.EvidenceAttribute("your-WINFORMS-script-key-here")]
94-
9594
````
9695

9796
In case you use multiple Telerik products in the same application (e.g. Wpf, Telerik Document Processing, Telerik Reporting), you will need to add seperate license script keys for all products that you use.
9897

9998
>caption TelerikLicense.cs file with multiple Script Keys for different products
10099
101100
````C#
102-
103101
[assembly: global::Telerik.Licensing.EvidenceAttribute("your-WPF-script-key-here")]
104102
[assembly: global::Telerik.Licensing.EvidenceAttribute("your-Document-Processing-script-key-here")]
105-
[assembly: global::Telerik.Licensing.EvidenceAttribute("your-REPORTING-script-key-here")]
106-
103+
[assembly: global::Telerik.Licensing.EvidenceAttribute("your-REPORTING-script-key-here")]
104+
107105
````
108106

109107
>important Do not publish the license key code snippet in publicly accessible repositories. This is your personal license key.

0 commit comments

Comments
 (0)