Ardavan Kalhori
Ardavan Kalhori

Reputation: 1698

getting the free space on the device - Windows phone 8

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.

Upvotes: 1

Views: 733

Answers (1)

PKeno
PKeno

Reputation: 2844

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.

Upvotes: 4

Related Questions