Create Directory in your Isolated Storage File : IsolatedStorage : File Directory Stream C# Examples


C# Examples » File Directory Stream » IsolatedStorage »

 

Create Directory 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())
                {
                        store.CreateDirectory("MyFolder");

                        Console.WriteLine("Current  size:  "  +  store.CurrentSize.ToString());
                        Console.WriteLine("Scope:  "  +  store.Scope.ToString());
                }
        }
}
    
   
  
   



Output

Current size: 2048
Scope: User, Assembly


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo File Directory Stream
» IsolatedStorage