Get included files in your Isolated Storage File : IsolatedStorage « File Directory Stream « C# / CSharp Tutorial






using System;
using System.IO;
using System.IO.IsolatedStorage;

static class MainClass
{
    static void Main()
    {
        using (IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForAssembly())
        {
            Console.WriteLine("Contained files include:");
            string[] files = store.GetFileNames("*.*");

            foreach (string file in files)
            {
                Console.WriteLine(file);
            }
        }
    }
}
Contained files include:
MyFile.txt








15.38.IsolatedStorage
15.38.1.Save file to Isolated Storage File
15.38.2.Create Directory in your Isolated Storage File
15.38.3.Get included files in your Isolated Storage File
15.38.4.Write text out To IsoStorage
15.38.5.Read from IsolatedStorage
15.38.6.Read text in From IsoStorage
15.38.7.Open up isolated storage based on identity of user + assembly evidence
15.38.8.Writing To Isolated Storage
15.38.9.Get IsolatedStorageFile for current user
15.38.10.Read and write with IsolatedStorageFileStream