how to get appdata path in C# code example Example: get appdata file path c# Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)