13

Is there an equivalent to HttpUtility.HtmlDecode in WinRT? I'm developing a MetroStyle app and want to decode strings that came from a XML doc.

Alireza Noori
  • 14,961
  • 30
  • 95
  • 179

2 Answers2

39

Use System.Net.WebUtility instead

Darrin Eide
  • 391
  • 3
  • 2
3

According to this answer from a Microsoft employee, there's currently no replacement for HtmlDecode in the WinRT that's included in the Windows 8 Developer Preview.

However, there will be a replacement in the next pre-release version of WinRT.

Judah Gabriel Himango
  • 58,906
  • 38
  • 158
  • 212