Add Syncfusion License Key

1 minute read

Objective

I want to:

  • Add Syncfusion License Key

  • We will continue from previous article 🚀 Add Syncfusion Busy Indicator.

  • Will not add new controls to previous code.

Demo Video

Below 🎬 video shows how to Add Syncfusion License Key in Visual Studio 2022.


Get License Key

open-syncfusion-dashboard

  • Now go to “Claim License Key” as shown in below 👇🏻 image.

select-claim-license-option

  • A new page open and select “COPY TO CLIPBOARD” as shown in below 👇🏻 image.

select-copy-key-option


Add Syncfusion Key

In this section we add Syncfusion Key Window.

  • Open “App.xaml.cs” file as shown in below 👇🏻 image.

open-app-xaml-file

  • Create a Constructor for this “App.xaml.cs” file as shown in below 👇🏻 image.

create-constructor

  • Register Syncfusion license shown in below 👇🏻 image.

register-license-key

public App()
{
    SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");
}

Final Result

Now we run the application as shown in below 👇🏻 image.

run-application

Now we did not see License message since we add our License Key.

This is it !!!

I hope my efforts will helpful to someone!

If you found anything to add or update, please let me know on my e-mail.

Hope this post helps you to Add Syncfusion License Key.

If you like the post then please share it with your friends also.

Do let me know by you like this post or not!

Till then, Happy learning!!!

Updated: