Question: Using Windows 7, Unauthorized Access Exception when running my application

Posted by RedEye on Stack Overflow See other posts from Stack Overflow or by RedEye
Published on 2010-03-04T01:58:21Z Indexed on 2010/05/09 19:28 UTC
Read the original article Hit count: 268

My application is raising an unauthorized access error. While running my application, I try to access a directory in the following location: Application.UserAppDataPath.

The Problem: It says I do not have permission to access the Application.UserAppDataPath directory

Is there a way to set permissions within my application source code?

Something like:

Application.UserAppDataPath.SetPermissions()

© Stack Overflow or respective owner

Related posts about userappdatapath

Related posts about c#