How to use protected static string EscapeString(string str);???
-
Hi All, I can't find any code samples where the static protected EscapeString is explained. It's part of the Uri class. class outline: System.Uri: protected static string EscapeString(string str); I need a to make a class where I can use this static methode to convert urls with special characters to a valid uri format with (space = %20) and back (%20 = space). Who can tell me how I can use this class? Thanks. Wernand The Netherlands
-
Hi All, I can't find any code samples where the static protected EscapeString is explained. It's part of the Uri class. class outline: System.Uri: protected static string EscapeString(string str); I need a to make a class where I can use this static methode to convert urls with special characters to a valid uri format with (space = %20) and back (%20 = space). Who can tell me how I can use this class? Thanks. Wernand The Netherlands
It's about to be deprecated, is there an EscapeUriString method in .NET 1.1 ? If not, it's new to 2.0. It's weird that it's protected, that means you need a derived class to use it. I'm sure there's some other method to do this in the framework..... Christian Graus - Microsoft MVP - C++