If you have a Windows application that needs to write working files as part of its normal operation (not prompted by the user):
- Where on the file system should they be written?
- What's the correct way to get this directory in .NET for all Windows versions (XP/V/7/Server)?
(Writing to the same directory as the executable or a "temp" directory are not suitable for my specific case.)