Silverlight 4.0: How to increase quota in Isolated File Storage

Posted by xscape on Stack Overflow See other posts from Stack Overflow or by xscape
Published on 2010-03-15T03:26:11Z Indexed on 2010/03/15 3:29 UTC
Read the original article Hit count: 505

Got this line of code here but its not working.

using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForApplication())

        {
            long newSpace = isf.Quota + spaceRequest;
            try
            {
                if(true == isf.IncreaseQuotaTo(newSpace))
                {
                    Debug.WriteLine("success");
                }
                else
                {
                    Debug.WriteLine("unsuccessful");
                }
            }
            catch (Exception e)
            {

                throw;
            }
        }

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about 4.0