I want to provide license to the simple console application. I used RSACrypttoServiceProvider class to encrypt and decrypt. I also want to use LicFileLicenseProvider class to grant license for my application. how to inherit LicFileLicenseProvider class and use it? Namespase.classname.lic file contains text - "Namespase.classname is a licensed component." - how to modify this ? if I modify this and use Validate OR isvalid method it will return null and false results respectively. please suggest solution.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
Look at http://www.drdobbs.com/184416695;jsessionid=4JVBZKOX0D5NRQE1GHRSKH4ATMY32JVN. Search for
DerivedLicenseProvider
. Is if not what you are looking for? Another article http://www.codeguru.com/csharp/.net/net_framework/licensing/article.php/c5469 don't give you a direct example about inheritance ofLicFileLicenseProvider
, but if you not yet know it, you should read it.