c# - How Can I Store Program Settings? -
I am creating a desktop app that sits on a PC and sometimes checks for web server to update various settings Will do The program will be using these settings again and again so that I want to cache settings in a file on a PC, so there is not a need to constantly hit the server. There are so many settings in them in an XML file Was thinking about saving, but I should not be able to read the file through PC users. How should I store the settings of a PC that the program can read and write, but the user can not be read? Edit: Sorry people are being written in C # through .NET 2.0. The application will run only on Windows, it is a console app that will run as a Windows service. If the app is a service then it can be run under an account which is not of the user ; So it's easy to keep the file hidden in it. As a Windows app, you get the option of a registry or file or local database. For files, your option of a simple property file or XML file. For any of these, your ...