diff --git a/winui/Licensing/how-to-register-in-an-application.md b/winui/Licensing/how-to-register-in-an-application.md index 7c4f87f37..81e68e1ec 100644 --- a/winui/Licensing/how-to-register-in-an-application.md +++ b/winui/Licensing/how-to-register-in-an-application.md @@ -7,16 +7,36 @@ control: Essential Studio documentation: ug --- -# Register Syncfusion License key in WinUI application +# Register Syncfusion license key in a WinUI application The generated license key is just a string that needs to be registered before any Syncfusion control is initiated. The following code is used to register the license. +**Registering a single license key** + {% tabs %} {% highlight c# %} Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY"); {% endhighlight %} {% endtabs %} +**Registering multiple license keys** + +You can register multiple license keys using either a comma (,) or a semicolon (;) as the separator between keys. + +{% tabs %} +{% highlight c# %} +Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY_1,YOUR LICENSE KEY_2,..."); +{% endhighlight %} +{% endtabs %} + +or + +{% tabs %} +{% highlight c# %} +Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY_1;YOUR LICENSE KEY_2;..."); +{% endhighlight %} +{% endtabs %} + N> * Place the license key between double quotes. Also, ensure that Syncfusion.Licensing.dll is referenced in your project where the license key is being registered. * Syncfusion license validation is done offline during application execution and does not require internet access. Apps registered with a Syncfusion license key can be deployed on any system that does not have an internet connection.