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.
Asked
Active
Viewed 4,684 times
13

Alireza Noori
- 14,961
- 30
- 95
- 179
-
How are you reading the XML file? – Rowland Shaw Dec 01 '11 at 13:11
-
I'm using the method I posted here: http://stackoverflow.com/questions/8300986/downloading-webpages-in-winrt-throws-an-exception – Alireza Noori Dec 01 '11 at 13:18
-
Does metro not support the classes under `System.Xml`? (although, of course, if it's not really XML, but HTML you might want to look at the HTML Agility Pack) – Rowland Shaw Dec 01 '11 at 14:02
2 Answers
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