I have a WPF application that should have been designed as a service since I realized that when the user logs out, the application closes. The WPF side has just a few settings such as DB name / password, OAuth token that is needed by the service. What is the best way to transfer that info from the WPF view to the Windows service? I had thought I would use registry settings, but it looked like that is getting phased out with UWP so I figured I would learn what the new "right" way was.
I would of course not want to store DB info in a plain text file.