c# appdata local path code example Example: get appdata file path c# Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)