Hi Alex,
Thanks for contacting Syncfusion support.
Q1) assuming I use both winform and wpf (different versions),
how will I register for a license? Do they have the same license?
A1) Our Syncfusion license keys are version and platform specific. So, if you are using WinForms and WPF applications separately, you need to generate and register the corresponding version and platform’s license key in your application separately, since both will be separate platforms and projects.
For example,
- If you are using Syncfusion v19.1 WinForms assemblies\nuget packages, then you should generate the Syncfusion WinForms v19.1.0.* license key and register it in your WinForms application.
- If you are using Syncfusion v18.4 WPF assemblies\nuget packages, then you should generate the Syncfusion WPF v18.4.0.* license key and register it in your WPF application.
Also, we are not recommending to use different version of Syncfusion assembly\nuget packages in a single application since it might lead to version conflicts.
Steps to register license keys:
Refer the below KB article to know about which version license key you should use in your application,
Q2) I mean need only one code for both, or I have to separate code in application load event as this? (I want to register them once instead of placing them in the form_load event)
Because I see only one assembly licensing.
A2) In this case, you can generate the single license key for both WinForms and WPF in the same version by following the below steps.
- Select the WinForms and WPF platforms, while generating the license keys.
- License key for both the platform will be generated as a single key, copy this clipboard.
- Register the above generated license key using below code in your project.
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("license key"); |
Let us know if we misunderstood anything.
Regards,
Manikandaprabu.T