URL Escapeing
-
HeyHo i´ve got a URL Escaping Problem (URI)... i have: a string with "http://blah blah" inside i would like to have: a string with "http://blah%20blah" inside... .. and for all the other funny Strings a working Escaping Is there a useable and not so complicated way (Uri.EscapeString would do it..but is protected....) mfG. Daniel Kirstenpfad
-
HeyHo i´ve got a URL Escaping Problem (URI)... i have: a string with "http://blah blah" inside i would like to have: a string with "http://blah%20blah" inside... .. and for all the other funny Strings a working Escaping Is there a useable and not so complicated way (Uri.EscapeString would do it..but is protected....) mfG. Daniel Kirstenpfad
String escapedurl = new System.Uri("http://mydomain.com?url=my string").AbsoluteUri;