[英]Can a UWP app change files in another app's AppData folder if using broadFileSystemAccess and runFullTrust?
I have a C# Windows Form app that does something (roughly) like: 我有一个C#Windows Form应用程序,其功能(大致)如下:
I'm trying to get the app working as a UWP app. 我正在尝试使该应用程序作为UWP应用程序工作。 I have successfully gotten it compiled to an APPX and it installs/launches fine.
我已经成功地将其编译为APPX,并且可以很好地安装/启动。 However it seems like all file activity it handles is stuck in a cached/sandbox version of the file system or something.
但是,似乎它处理的所有文件活动都停留在文件系统的缓存/沙盒版本中。
For example: 例如:
Other Notes: 其他说明:
The desktop bridge capture and redirects file writes to folders that are part of the package. 桌面桥将捕获文件并将文件写入重定向到该软件包的一部分中。 You can read more about this in the official docs .
您可以在官方文档中阅读有关此内容的更多信息。 The purpose is to allow the operating system to clean up those files when the app is uninstalled.
目的是允许操作系统在卸载应用程序时清理这些文件。
You should be able to write to a folder that is not part of the package as long as the user has access to this folder though, and you should then be able to see the file in this actual folder in the File Explorer. 只要用户可以访问该文件夹,您就应该能够写出一个不属于软件包的文件夹,然后您应该能够在文件资源管理器中看到该实际文件夹中的文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.