How to set dll expiration time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandip123
    New Member
    • Apr 2010
    • 3

    How to set dll expiration time

    Dear Friends,

    I would like to set an expiration time for the dll.
    Ex: dll expire after 2 months

    Thanks
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Well there are a few ways you can do this.

    Your class library can set a value in the windows register to state when it was first used....it would check this value every time it's used to see if 2 months has passed.

    You could hard code it into your application so that the start date is when you ship the class library...check this date every time it's used to see if 2 months has passed.

    ...I'm sure there are other ways to do this but nothing is coming to mind right now

    -Frinny

    Comment

    Working...