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 ));

Leave a Reply

Your email address will not be published. Required fields are marked *