C# : decode cookies
i got problem wi开发者_开发知识库th libraries , now i write a program to read cookies and some cookies are being encoded so i need to decode them and i know that i must use the library System.Web.HttpUtility.UrlEncode to decode the cookies but whenever i type Using System.Web.HttpUtility.UrlEncode i get no library it just stop at Using System.Web; nothing more no subs of Web . i am using .net frame2 and i tried that on .net framework 4 and didn`t work . i dont use ASP i use a console application . and thanks a lot in advance .
Add the namespace to your project references.
Right click on references -> add reference -> .NET -> Select System.Web
-> click add
精彩评论