Gets the user name, password, or other user-specific information associated with the specified URI.
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"); } }