簡體   English   中英

有沒有辦法找出您的應用程序在WP7上使用的隔離存儲中有多少空間?

[英]Is there a way to find out how much space in isolated storage you app is using on WP7?

我想知道我的應用程序在Windows Phone 7上使用了多少千字節/兆字節的隔離存儲。是否有一種簡單的方法可以找到答案?

IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForApplication();
long usedBytes = isf.Quota - isf.AvailableFreeSpace;

此處的文檔: http : //msdn.microsoft.com/zh-cn/library/system.io.isolatedstorage.isolatedstoragefile(v=VS.96).aspx

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM