Get the local application data folder

Current user (Not roaming)

System.Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData));

For the roaming user:

System.Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData ));

For all users

System.Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData ));
Lastest update in May 2011, inital post in May 2011

Write a comment

I appreciate comments, suggestions, compliments etc. Unfortunately I have no time to reply to them. Useful input will be used for sure!