1

Is it possible to get the free space on the device and the external storage?

I need to know if the user has enough space to download the files from server.

Ardavan Kalhori
  • 1,664
  • 1
  • 18
  • 32
  • 1
    http://stackoverflow.com/questions/409069/getting-the-size-free-total-of-a-windows-mobile-phone-drive-using-c-sharp – d.moncada Mar 22 '13 at 20:17
  • I tried the methods described in the link, but they do not work on windows phone 8 (OR at least I couldn't get them to work) – Ardavan Kalhori Mar 25 '13 at 20:38

1 Answers1

4

Is this possibly what you are looking for?

IsolatedStorageFile.GetUserStoreForApplication().AvailableFreeSpace;

According to msdn documentation it

Gets a value that represents the amount of free space available for isolated storage.

PKeno
  • 2,694
  • 7
  • 20
  • 37