按标题,我怎么能确定在Windows Phone应用程序的使用IsolatedStorage空间?
你可以知道可用空间和使用空间。
try
{
using (var store = IsolatedStorageFile.GetUserStoreForApplication())
{
Int64 curAvail = store.AvailableFreeSpace;
var used = store.Quota - curAvail;
}
}
catch (IsolatedStorageException)
{
// TODO: Handle that store could not be accessed.
}