Skip to content

Instantly share code, notes, and snippets.

@DrivenLogic
Created October 26, 2012 00:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrivenLogic/3956292 to your computer and use it in GitHub Desktop.
Save DrivenLogic/3956292 to your computer and use it in GitHub Desktop.
C# Html Decode
string encodedData = System.IO.File.ReadAllText("EncodedData.txt");
string decodedData = HttpUtility.HtmlDecode(encodedData);
Console.WriteLine(decodedData);
System.IO.File.WriteAllText("DecodedData.txt", decodedData);
Console.WriteLine("done...");
Console.ReadLine();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment