Reputation: 86085
I have an object of Uri. How to get the Urlencoded string? Any builtin support of Uri class?
Upvotes: 0
Views: 362
Reputation: 30830
Use Uri.EscapeDataString()
and Uri.UnescapeDataString()
static methods of Uri
class.
Upvotes: 1