开发者

Uri to URLencoded string

I have an object of Uri. How to get the Urlencoded string? Any builtin support o开发者_运维技巧f Uri class?


HttpServerUtility.UrlEncode or HttpUtility.UrlEncode in System.Web


Use Uri.EscapeDataString() and Uri.UnescapeDataString() static methods of Uri class.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜