How do you extract the Web Site name from a URL or a Link. I have found examples for other languages but not c#. Also the URL / Link will not be the current page that i am on.
e.g. http://www.test.com/SomeOther/Test/Test.php?args=1
From that i need to extract just www.test.com , keep in mind that it wont always be .com and it can be any domain