Question: Using Windows 7, Unauthorized Access Exception when running my application
- by RedEye
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()