The following forum(s) have migrated to Microsoft Q&A (Preview): Developing Universal Windows apps!
Visit Microsoft Q&A (Preview) to post new questions.

Learn More

[UWP][C#] How can I retrieve ETag from HttpRequestMessage RRS feed

  • Question

  • Hi,

    I am looking for the ETag header in the HttpRequestMessage class. I am sending a message to a http server and I get a response but I cannot find the property anywhere. Do I need to add a header of my own or is this simply not available in the current UWP API's?


    Wednesday, July 15, 2015 1:44 PM


All replies

  • Etag is mostly part of the object your retrieving. what do you have now for code and what for result you getting from the server?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Wednesday, July 15, 2015 4:59 PM
  • You need to handle it by yourself, see

    By the way, the Windows.Web.Http.HttpClient should be the best choice, it has implemented some features for us automatically.

    Best Regards,
    Please remember to mark the replies as answers if they help

    • Proposed as answer by IssueKiller Wednesday, July 29, 2015 11:32 AM
    • Marked as answer by WouterJM Wednesday, July 29, 2015 9:13 PM
    Wednesday, July 29, 2015 11:31 AM