I want to protect my .dlls from reverse engineering.
My scenario:
I have an Asp.net website and that website I already hosted on client's server (IIS). Now I set some XYZ date in my system. That system should work until that date. once that date is become current date at that time User will get a popup message "your licence is expired. Please contact to Vendor."
Now clients comes to me and ask for re-new licence and pay me some amount. I will generate new date in an encrypted string. I will just give that encrypted string to the client. The client will insert that encrypted string in the system and that encrypted date will be stored in ABC table in the database.
Now some technical client tries to update that encrypted date in that ABC table in the database by de-compiling or reverse-engineering, and they will get the string token key which we used for encrypt/decrypt logic, and also gets the encrypt/decrypt function from my .dll.
Now they can easily generate the new date in an encrypted form and update that in table into database.
Please someone can help on that - How can I prevent this.