Articles in this section
Category / Section

How to apply the license key for Syncfusion samples published in GitHub?

2 mins read

To use the Syncfusion samples published in GitHub, you require license key. Refer to this documentation link to generate the license key from Syncfusion account.

Following table illustrates the procedure to apply the license key for Syncfusion samples published in GitHub.

Platform

Procedure

ASP.NET – EJ1

Apply the ASP.NET – EJ1 license key in SyncfusionLicense.txt file which will be available in the root folder of the the ASP.NET – EJ1 repository.

 

Location:

{Repository}\SyncfusionLicense.txt

 

Example:

{aspnet-ej1-demos}\SyncfusionLicense.txt

 

ASP.NET MVC – EJ1

 

Apply the ASP.NET MVC – EJ1 license key in SyncfusionLicense.txt file which will be available in the root folder of the the ASP.NET MVC – EJ1 repository.

 

Location:

{Repository}\SyncfusionLicense.txt

 

Example:

{aspnet-mvc-ej1-demos}\SyncfusionLicense.txt

 

ASP.NET Core – EJ1

Apply the ASP.NET Core – EJ1 license key in SyncfusionLicense.txt file which will be available in the root folder of the the ASP.NET Core – EJ1 repository.

 

Location:

{Repository}\SyncfusionLicense.txt

 

Example:

{aspnet-core-ej1-demos}\SyncfusionLicense.txt

 

Windows Forms

Apply the Windows license key in SyncfusionLicense.txt file which will be available in the Common folder inside the Windows repository.

 

Location:

{Repository}\Common\SyncfusionLicense.txt

 

Example:

{winforms-demos}\Common\SyncfusionLicense.txt

 

WPF

Apply the WPF license key in SyncfusionLicense.txt file which will be available in the Common folder inside the WPF repository.

 

Location:

{Repository}\Common\SyncfusionLicense.txt

 

Example:

{wpf-demos}\Common\SyncfusionLicense.txt

 

UWP

Apply the UWP license key in SyncfusionLicense.txt file which will be available in individual UWP samples location.

 

Location:

{Repository}\{control}\SyncfusionLicense.txt

 

Example:

{uwp-demos}\Barcode\SyncfusionLicense.txt

 

Xamarin

Forms:

Apply the Xamarin license key in SyncfusionLicense.txt file located in the LicenseKeyProvider folder.

 

Location:

Xamarin\Forms\LicenseKeyProvider\SyncfusionLicense.txt

 

Android:

Pass the license key to the below method in the MainActivity.cs file.

 

Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("")

 

File location:

Xamarin\Android\SampleBrowser\MainActivity.cs

 

Example: Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("ADFGHJKLUYTRTYUIYHJK")

 

iOS:

Pass the license key to the following method in HomeViewController.cs file:

 

Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("")

 

File location:

Xamarin\iOS\SampleBrowser\Controllers\HomeViewController.cs

 

Example: Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("ADFGHJKLUYTRTYUIYHJK")

 

Blazor

Apply the Blazor license key in SyncfusionLicense.txt file which will be available in the root folder of the the Blazor repository.

 

Location:

{Repository}\SyncfusionLicense.txt

 

Example:

{blazor-samples}\SyncfusionLicense.txt

 

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied