C# – How to get the current user’s Local Settings folder path in C#


I want to point a file dialog at a particular folder in the current user's Local Settings folder on Windows. What is the shortcut to get this path?

Best Solution

How about this, for example:

String appData = 

I don't see an enum for just the Local Settings folder.

http://web.archive.org/web/20080303235606/http://dotnetjunkies.com/WebLog/nenoloje/archive/2007/07/07/259223.aspx has a list with examples.