What's the deal with dontEscape support in Uri? .NET 3.5
Documentation state that dontEscape is depr开发者_JS百科ecated and always false.
However it actually works. Is it a good idea to use it anyway, or is there any other alternative to send non RFC compliant Http requests?
Sample Code:
Dim U As New Uri("http://www.google.com/>", True)
Dim W As New Net.WebClient()
WL(W.DownloadString(U))
"The method has been deprecated. Please use GetComponents() or static UnescapeDataString() to unescape a Uri component or a string. http://go.microsoft.com/fwlink/?linkid=14202"
Citation from obsolete attribute. Have you tried this approaches?
精彩评论