如何获得可用于隔离存储的最大空间? [英] How to get maximum amount of space available for isolated storage?

查看:74
本文介绍了如何获得可用于隔离存储的最大空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过" IsolatedStorageFile "获得一个表示可用于隔离存储的可用空间量的值。 AvailableFreeSpace"属性。我还希望获得
隔离存储空间的最大可用空间,因此我使用了"IsolatedStorageFile .Quota"。财产,但我得到了不正确的
金额。是否有其他方法可以获得可用于隔离存储的最大空间量?

I have got a value that represents the amount of free space available for isolated storage by "IsolatedStorageFile.AvailableFreeSpace" Property. I also want to get  maximum amount of space available for isolated storage, so I used "IsolatedStorageFile.Quota" Property but I got a incorrect amount . Is there other method to get maximum amount of space available for isolated storage?

推荐答案

是否有其他方法可以获得可用于隔离存储的最大空间量?
Is there other method to get maximum amount of space available for isolated storage?


理论上,您可以访问AvailableFreeSpace中报告的所有空间。    IsolatedStorageFile .Quota
Property
 最初应根据文档显示1 MB的值,您可以将其增加到AvailableFreeSpace。

You theoretically have access to all space reported in the AvailableFreeSpace.  The IsolatedStorageFile.Quota Property should initially show a value of 1 MB according to the docs and you can increase that to the AvailableFreeSpace.


这篇关于如何获得可用于隔离存储的最大空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆