0
For Your Question 1)
1) https://msdn.microsoft.com/en-us/library/aa984236(v=vs.71).aspx
2)https://www.codeproject.com/Articles/18558/Encrypting-windows-application-connection-strings
For Question 2)
1)http://www.c-sharpcorner.com/article/a-simple-approach-to-product-activation/
2)https://www.codeproject.com/Articles/996001/A-Ready-To-Use-Software-Licensing-Solution-in-Csha
Accepted 0
https://www.connectionstrings.com/access/.
https://www.connectionstrings.com/sql-server/