silverlight - Access Last-Modified HTTP response header on Windows Phone 8.0 -
silverlight - Access Last-Modified HTTP response header on Windows Phone 8.0 -
i trying create head request , read last-modified header response. far i've been using httpclient of async server communication, worked fine, reason httpresponsemessage.headers doesn't seem contain last-modified response header, though server homecoming it.
how access last-modified response header in windows phone 8.0?
if you're looking last-modified
of file you're downloading take at
httpclient hc = new httpclient(); var reponse = await hc.getasync("http://www.chubosaurus.com/dogecoin_wp8.jpg");
then @
class="lang-c# prettyprint-override">reponse.content.headers.lastmodified
silverlight windows-phone-8 http-headers
Comments
Post a Comment