Look at combining Environment.GetFolderPath and Environment.SpecialFolder to do this.
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
More Related Contents:
- Given a filesystem path, is there a shorter way to extract the filename without its extension?
- C# getting the path of %AppData%
- Get current folder path
- Path.Combine for URLs?
- How to remove illegal characters from path and filenames?
- Unrecognized escape sequence for path string containing backslashes
- Access to the path is denied
- Better way to check if a Path is a File or a Directory?
- Difference between forward slash (/) and backslash (\) in file path
- Relocating app.config file to a custom path
- How can I compare (directory) paths in C#?
- Getting the folder name from a full filename path
- Absolute path back to web-relative path
- Check whether a path is valid
- Path.Combine absolute with relative path strings
- @(at) sign in file path/string [duplicate]
- Getting relative virtual path from physical path
- File System TreeView
- WPF C# Path: How to get from a string with Path Data to Geometry in Code (not in XAML)
- Convert file path to a file URI?
- Access to the path is denied when saving image
- How to find an EXE’s install location – the proper way?
- How to use Expression Tree to safely access path of nullable objects?
- Extracting Path from OpenFileDialog path/filename
- Process.Start() and PATH environment variable
- Detect active window changed using C# without polling
- HttpClient single instance with different authentication headers
- Memory-constrained external sorting of strings, with duplicates combined&counted, on a critical server (billions of filenames)
- any can explain the function of stride in bitmapdata?
- Build c# Generic Type definition at runtime