Get included files in your Isolated Storage File : IsolatedStorage : File Directory Stream C# Examples


C# Examples » File Directory Stream » IsolatedStorage »

 

Get included files in your Isolated Storage File









    
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);
                        }
                }
        }
}
    
   
  
   



Output

Contained files include:
MyFile.txt


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo File Directory Stream
» IsolatedStorage