Network C#

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");
   }
}