General application data
System.Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData)
This is the file system path that you can use to save data for multiple users and multiple versions of the operating system. The path may vary depending on the version, but since you are using environment variables, the above line will resolve to the path used.
Edit:
I wanted to add this as a note, as it was only implied; it does not require elevated permissions to write to this directory, it is intended for this purpose.
source
share