You must Sign In to post a response.
  • Category: .NET

    I have developed a .NET dll using c#.net targeted to framework 4.0 .

    I have developed a .NET dll using c#.net targeted to framework 4.0 .
    Now I need to implement the licensing functionality.

    I want to implement the Design time licensing feature which is nothing but during the development time in visual studio.

    How to achieve this? Please do help..

    Basically user is not allowed to create object from my DLL after certain period of time ...

    What I have tried:

    Tried with GetProcess() mecahism..But I need the code should get executed during design time ..NOT Runtime
  • #769527
    Hi Antoni,

    You have to write a function in your DLL file during the initialization of the object. So, whenever an object is get initiated for that class then you have to check the license. If it is valid then do nothing otherwise just throw the system error.

    This kind of implementation, it will not throw any error during the compilation. It will throw only where they using your DLL file.

    Regards,
    V.M. Damodharan
    "Your talent will be worthless, when you have fear and tension."


  • Sign In to post your comments