Extension methods are provided for Windows.Storage.StorageFolder.


Returns an item at the specified path or null if it doesn't exist rather than throwing and catching an exception. This matches the equivalent method added in Windows 8.1. A common use for this method is to check if a file exists.


Returns the total size of a folder and all its contents. This is provided in both Phone and RT versions as neither platform has this functionality.

Last edited Mar 4, 2014 at 9:26 PM by PeterFoot, version 3