I am creating an application that interacts with the database via a dll. the dll also has other bussiness logics and encryption of data, implemented.
Since i will be distributing the dll with my application, there arise a need to know how do i avoid/stop my dll from being referenced by other projects.
Like for eg: if one tries reference any dll(pick any one randomly from the system32 folder), it will say "can't add a reference to the specific file". i want something like this, so that my logic remains protected in dll.
Any ways to go about it ??
Have a great day,