I've created a service, that continuously resets the Lock-screen wallpaper, if it has been changed.
But as this is my first time creating a service, I've hard-coded everything, the path, the intervals in which the service looks if the wallpaper has changed (I'm using the Registry-Entry). Now I thought of something like a settings-app in WPF, where I can change the image that gets set by the service as lock-screen, or the interval (currently 5 seconds).
But then I thought how I could store the settings. If I change a setting, the service needs to take it, so I need to reboot it if I use a text file, I could also use a database, but that's a bit too much work, for just a service with 2-3 settings.
And please don't mark this as opinion-based
, it's a legit question