I'm trying to write a file to
Environment.GetFolderPath(Environment.SpecialFolder.Personal)
I'm getting the following error when I try to do so:
System.UnauthorizedAccessException: Access to the path is denied
I suspect I have a more general problem.
To debug what might be going wrong here, I would like to try writing to a fail-safe directory (where I wouldn't need any permissions).
Could anybody tell me which directory I could choose for this?
If this also doesn't work, I'd know I have a more general problem. If this does work, it's likely that it's a permission problem.
Thank you.