Silverlight Isolated Storage Maximum Quota
I've been asked couple of times (by clients, eMail and also here in comments) about maximum size for Silverlight Isolated Storage.
From tests I did, seems that maximum quota size is theoretically limited by total of long.MaxValue number of bytes.
1: // Request more quota space.
2: if (!store.IncreaseQuotaTo(long.MaxValue))
3: //if (!store.IncreaseQuotaTo(store.Quota + spaceToAdd))
4: { 5: // The user clicked NO to the
6: // host's prompt to approve the quota increase.
7: tbResults.Text = "User declined to approve Quota inrease";
8: }
9: else
10: { 11: // The user clicked YES to the
12: // host's prompt to approve the quota increase.
13: tbResults.Text = "Quota inreased";
14: }
So, who have 8,589,934,592Gb HDD? :)
The sample used to check it is the same sample from this post. Sources here (the only thing was changed is the size of requested quota in bIncreaseAllocation_Click function like in code snippet).
Enjoy,
Alex