FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.AllAccess , _XmlFileFullName);
permission.Demand()
尝试强制获取,如果还是不行就报错。
FileIOPermission permission = new FileIOPermission(FileIOPermissionAccess.AllAccess , _XmlFileFullName);
permission.Demand()
尝试强制获取,如果还是不行就报错。