Hi,
I did this and got the size:
Assumption : you already have created a folder. In my case I have created a folder with name "SampleTest"
// Outer variable declaraion
var folderMain = Windows.Storage.ApplicationData.current.localFolder;
// Method inside any function
folderMain.getFolderAsync("SampleTest").done(function (fld) {
fld.getBasicPropertiesAsync().done(function (prop) {
var size = prop.size; // You get the current size
});
});
Hope this helps..
- Girija