开发者

C# : decode cookies

开发者 https://www.devze.com 2023-03-14 14:30 出处:网络
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.Http

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

0

精彩评论

暂无评论...
验证码 换一张
取 消