In WinForms, the entire licensing scheme in .NET revolves around LicenseManager
and LicenseProvider
, as mentioned quite well in this article .
I have a simple test form in WinForm (the licensed DevExpress ButtonEdit fell there) using the code below. I see that he receives the license information in the order:
var license = LicenseManager.Validate(typeof(ButtonEdit), this);
I also see that it has an automatically generated license.licx file and is added to my project.
So, I tried to do the same, dropping the DevExpress / Telerik WPF controls into my sample WPF window, and I see that the license.licx file is NOT automatically generated.
So, if I try to run the same line in WPF, license
returns null. This means that it does not use the entire LicenseManager architecture in WPF.
What does he use to check the license for a third-party component?
It looks like someone has reported an error in VS 2010 regarding this , but I am using VS2010.
source share