I am going to be developing a desktop application in C++ that I'd like to protect by requiring a license file.
My initial idea was to have 2 executables. One would the actual program that I ran some sort of symmetric encryption on and the second executable would decrypt and run the program using a license file on the user's computer. However, this is easy to defeat by simply dumping the memory.
Are there any other solutions out there (doesn't have to be free) to manage licenses? I have seen FlexNet and other things like that in mainstream programs, but wasn't sure how difficult/expensive these were to include in my own programs.