简体   繁体   中英

elevate privileges in C# , Access to the path 'c:\Documents and Settings' is denied

When I try to access files on my desktop or in some other places from my c# app, it throws an error "Access to the path 'c:\\Documents and Settings' is denied." .

If I understand right, it is because my app doesn't have privileges to access certain directories?

What can I do to elevate such privileges ?

Thanks!

请参阅此主题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM