I have an exe+dll and now want to prevent others from re-using/seeing my dll-code ! Because when I simply create a new project and add the dll as a reference, I can use its functionalities without restriction :blush:
Anyone ?
Printable View
I have an exe+dll and now want to prevent others from re-using/seeing my dll-code ! Because when I simply create a new project and add the dll as a reference, I can use its functionalities without restriction :blush:
Anyone ?
the perpose of DLL is sharing code and reuse and exposing functionality to other programers other than the original one. if you want to restirct access you don't even need yo use DLL; simply hard-code the functionality in your exe file.
One possible way would be setting up some security in your DLLs.
For example, restricting users to use the methods if they have invalid password/serial number.