License Check before executing
Posted
by jaklucky
on Stack Overflow
See other posts from Stack Overflow
or by jaklucky
Published on 2010-03-21T00:16:25Z
Indexed on
2010/03/21
0:21 UTC
Read the original article
Hit count: 685
Hi,
We have an application (written in C# on .NET Framework 3.5) that is licensed using our custom licensing mechanism. In the current implementation, in each method we first check for if the machine has valid license or not. To me, it is little bit awkward. Is there any way to let the runtime check for the license before creating the object or excuting a method? Will writing a custom attribute solves this problem?
Any ideas or solutions are greatly appreciated.
Thank you, Suresh
© Stack Overflow or respective owner