在C#中漫游文件的简单途径(An easy path to roam files in C#)

编程入门 行业动态 更新时间:2024-10-24 14:24:38
在C#中漫游文件的简单途径(An easy path to roam files in C#)

我的项目中有一些文本文件,我希望他们的内容可以在具有相同Microsoft帐户的PC和Phone版本中使用。

这是我的意思的屏幕截图: 我在项目中的文本文件

文件的内容少于100KB,我相信我可以使用漫游,但我不知道如何做到这一点。 有人可以帮帮我吗?

I have some text files in my project and I want their content to be available in the PC and Phone version with the same Microsoft Account.

Here is a screenshot of what I mean: My text files in the project

The Content of the files are less than 100KBs and I believe I can use roaming, but I don't have any idea of how to do that. Can somebody help me please?

最满意答案

查看应用程序数据示例 ,它是GitHub上Windows 10的大量API示例的一部分。

https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ApplicationData

Have a look at the Application data sample which is part of a huge set of API samples for Windows 10 on GitHub.

https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ApplicationData

更多推荐

使用,Microsoft,内容,Phone,电脑培训,计算机培训,IT培训"/> <meta name="descrip

本文发布于:2023-08-07 06:02:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1462957.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:途径   简单   文件   easy   roam

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!