阅读背景:

无法使用FileIOPermission复制具有适当权限的文件

来源:互联网 

This snippet works well if I try to write in a user directory but as soon as I try to write in Program Files, it just executes silently and the file has not been copied (no exception). If I try to copy the file in C:\ or in C:\Windows I catch an UnauthorizedAccessException.This snippet works well if I try to write in a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: