Click to See Complete Forum and Search --> : Prevent dll usage by others
zvenny
February 3rd, 2009, 07:59 AM
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 ?
toraj58
February 4th, 2009, 03:54 AM
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.
MMH
February 4th, 2009, 04:30 AM
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.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.