windows runtime - Clear image cache created by <Image> -


if have element in windows store or windows phone application:

<image source="{binding urltowebserver}" /> 

the image cached locally. great. how remove cached images on disc code?

you have set imagesource null

something this:

bitmapimage bitmapimage = myimage.source bitmapimage; bitmapimage.urisource = null; myimage.source = null; 

this works me. here can find mor infos handling images (section image caching example).


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -