FoodBard
April 17th, 2005, 08:11 AM
Sample:
http://www.codeguru.com/Csharp/.NET/net_framework/licensing/article.php/c5469/
it used
license = LicenseManager.Validate(typeof(LicensedColorComboBox), this);
Why does it not directly use
license = LicFileLicenseProvider.GetKey
or the IsKeyValid etc?
And isn't a [LicenseProvider(typeof(LicFileLicenseProvider))] attribute easy to strip from an assembly? So someone could insert their own LicenseProvider?
http://www.codeguru.com/Csharp/.NET/net_framework/licensing/article.php/c5469/
it used
license = LicenseManager.Validate(typeof(LicensedColorComboBox), this);
Why does it not directly use
license = LicFileLicenseProvider.GetKey
or the IsKeyValid etc?
And isn't a [LicenseProvider(typeof(LicFileLicenseProvider))] attribute easy to strip from an assembly? So someone could insert their own LicenseProvider?