I have a C# WPF program that I built. I would like to lock it down so only certain people will be able to use this program. What do you think would be the best way to do this?
I was thinking of 2 different options that would work but I am not sure I need the community to advise me in the correct direction.
- Have a product key ether build my own or find an open source one that I can use on the program and set it up with a database so only people with a valid key will have access to the program.
- Have a login page and make the user login and only valid users will be able to use the program.
What do yo all think? What would you do and use in this situation?