开发者

Uri to URLencoded string

开发者 https://www.devze.com 2023-01-29 09:51 出处:网络
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.WebUse Uri.EscapeDataString()

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

精彩评论

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