Here is a question not about code but about patterns. I'm developing a .Net application that needs to use three files in order to work properly.
Now my question is about file location, where to put this files? On Program Files or AppData inside the users's Documents And Settings.
Thanks in advance.
AppData
should always be preferred, since it requires less permissions (you might need Administrator permissions to create / updated files in Program Files
).
Also it depends whether data should be personalized or global for all users. Take a look at this post