Mega Code Archive

 
Categories / C# / Network
 

Indicates that the URI string was completely escaped before the Uri instance was created

using System; public class MainClass{    public static void Main(){         Uri uriAddress = new Uri ("http://user:password@www.yourDomain.com/index.htm ");         Console.WriteLine(uriAddress.UserInfo);         Console.WriteLine("Fully Escaped {0}", uriAddress.UserEscaped ? "yes" : "no");    } }