Gets the host component of this instance.
using System; public class MainClass{ public static void Main(){ Uri baseUri = new Uri("http://www.yourDomain.com:8080/"); Uri myUri = new Uri(baseUri, "shownew.htm?date=today"); Console.WriteLine(myUri.Host); } }