在使用Android的Monogame中使用IsolatedStorageFile.GetUserStoreForApplication()创建文件时,文件位于何处?

时间:2017-02-01 21:42:38

标签: c# android xna monogame isolatedstoragefile

我尝试使用Monogame for Android创建文件,但问题是我不知道它们的位置。

我使用了这段代码:

    var store = IsolatedStorageFile.GetUserStoreForApplication();
    store.CreateFile("test.txt");

那么,test.txt文件在哪里?

要100%确定该文件实际存在,我运行此代码:

    if (store.FileExists("test.txt"))
    {

    }

并且该代码是真的所以现在我知道即使我找不到该文件也存在。

我试图在我的项目中到处搜索该文件,我也在手机中搜索它,但没有运气。

我希望能够将文件从我的电脑移动到游戏项目,并通过我的手机读/写这些文件。

谢谢!

0 个答案:

没有答案