using System;
public class Test
{
public static void Main()
{
Uri uriAddress = new Uri("http://w...content-available-to-author-only...o.com/index.htm#search");
Console.WriteLine("The path of this Uri is {0}", uriAddress.GetLeftPart(UriPartial.Authority));
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCSAgICBVcmkgdXJpQWRkcmVzcyA9IG5ldyBVcmkoImh0dHA6Ly93Li4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi5vLmNvbS9pbmRleC5odG0jc2VhcmNoIik7CiAgICBDb25zb2xlLldyaXRlTGluZSgiVGhlIHBhdGggb2YgdGhpcyBVcmkgaXMgezB9IiwgdXJpQWRkcmVzcy5HZXRMZWZ0UGFydChVcmlQYXJ0aWFsLkF1dGhvcml0eSkpOwoJfQp9