Hi. I have a handheld terminal on Windows CE6.0 Net CF3.5, and need to send urls to a web server without letting it include the (buggy) extra backslash you get when you convert the url to %5C and %2F etc. (encode all the parameters using the RFC 3986 standard).
To this end I need to use GenericUriParserOptions, specifically DontUnescapePathDotsAndSlashes. I've been onto a few MS pages
where it says:
The 'Dim instance As GenericUriParserOptions' is OK but the declaration doesn't make any sense to me or to the compiler. I'm expecting a function that does something like this:
Public Enumeration GenericUriParserOptions
Dim instance As GenericUriParserOptions
but I don't understand the declaration bit or how to actually prevent the stray backslashes in the url after encoding the parameters.
Dim request As System.Net.HttpWebRequest = WebRequest.Create("http://" & DontUnescapePathDotsAndSlashes(myURL))
Thank you for your help.