Donate

Accessing HttpUtility Class In C# Winforms

To use or access the HttpUtility class in C# winforms, do the following:
1. Add reference to System.Web dll
2. Use any methods available in HttpUtility class.
System.Web.HttpUtility.HtmlDecode(mystring);
System.Web.HttpUtility.UrlDecode(mystring);
Cheers!

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

How To Insert Or Add Emojis In Microsoft Teams Status Message

TypeScript Error Or Bug: The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program.