Windows IoT核心上的读写和xml文件 [英] Reading and writing and xml file on Windows IoT core

查看:91
本文介绍了Windows IoT核心上的读写和xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

论坛,

 我正在寻找在Raspberry Pi上运行的Windows IoT核心上读取和编写xml文件的示例。我知道如何在.Net Windows应用程序中执行此操作。  我假设我必须在Package.appxmanifest功能中启用一些功能。

  I'm looking for an example of reading and writing xml files on Windows IoT core running on Raspberry Pi. I know how to do this in a .Net Windows applications.  I assume that I have to enable something in the Package.appxmanifest Capabilities.

任何工作示例都将受到赞赏。

Any working example would be appreciated.

谢谢,

  Mike

  Mike

推荐答案

物联网中还没有FilePickers(所以)只有相对路径(即不是C:\ ...)允许文件访问。

There are no FilePickers in IoT (yet) so only relative paths (i.e. not C:\...) are allowed in file access.

除此之外,它与桌面10完全相同。请记住,这意味着所有文件调用都只是异步。

Other than that, it is exactly the same as on Desktop 10. Remember that means all file calls are async only.


这篇关于Windows IoT核心上的读写和xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆