Alright I’m pretty new to programming and stuff and I’m now trying to code some basic programs in c#.
Now I’m basically working on a little thing that’s basically a DLL that allows anyone to use the program as long as the program specifies and no longer.
I’ve already kinda figured out how i’ll do the code, i’ll do some checks and then either return true or false to the exe if the beta is still valid or not.
But I don’t really know how DLLs work completely, I know that there’s programs that can kinda look into DLL code. So here’s my questions:
- Couldn’t someone just change or rip off the source code and change the value to always be true? and if they could, is there any way to prevent this?
- How do you actually properly debug a DLL file? Now I’m just writing the code in an exe which I plan to later move to a DLL, but that can’t be right.
Also any other tips are welcome. Thanks
What you’re basically doing is writing DRM, and that’s a game you can’t win. No matter what you do, your access control measures can and will be cracked, if someone cares enough.
There are about 2 things that I know of that are much harder to crack:
And regarding debugging DLLs, yeah, you basically debug them using a program which uses the DLL.