I have several URL's to Images. now to save bandwith, I would like to auto-download only Bitmaps/Images which are < 1MB.
Now how to do this. Using BitmapImage, I can download Images, but not see how large they are before I've downloaded them.
So I am now just creating a webrequest, then checking the webresponse Content-length. If it's > 1MB, I'm aborting the request. If not, I am downloading and creating the BitmapImage.
Any better variant of this?