Friday, 4 July 2014

How to get Device Free Space(Memory) in Windows Phone

Hi All,

Use this below Function to do the same.

public static long GetDeviceRemainingSpace()
        {
            using (var store = IsolatedStorageFile.GetUserStoreForApplication())
            {
                return store.AvailableFreeSpace;
            }
        }

No comments:

Post a Comment