Reputation: 2066
I have created a dll library and now i want to secure it and distribute it to others.
I want to provide a trial so that the user can see what it can do.
What can I do to protect it?
Thanks!
Upvotes: 0
Views: 1759
Reputation: 3
There is a easy way but it has some limitations. You just add expiry date and check system time, if system date is greater than expiry date then return with error message
Upvotes: 0
Reputation: 770
You can sign the assembly so that users can guarantee that it was built by you (and hasn't been tampered with), but I presume that the 'protection' you require is something other than this? Please explain further your requirements.
Upvotes: 2
Reputation: 2156
There are different ways to "secure" a library.
Note that neither of these ways will make your public functionality "invisible". There's no way to secure DLLs in the sense of a full DRM.
Upvotes: 1