IsolatedStorageFile.CreateDirectory : IsolatedStorageFile « System.IO.IsolatedStorage « C# / C Sharp by API






IsolatedStorageFile.CreateDirectory

  

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

   
    
  








Related examples in the same category

1.IsolatedStorageFile.GetFileNames
2.IsolatedStorageFile.GetUserStoreForAssembly()