I am trying to create a cache of images for windows phone 8.1. To do this I need to read the property LastModified of HttpWebRequest. I searched google and I found this, does not work. I have this code:
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(imageFileUri);
webRequest.Method="HEAD";
HttpWebResponse webResponse = ((HttpWebResponse)await webRequest.GetResponseAsync());
What I have to do to get the date?
Debugging found the solution:
This return a String like: