Codessentials

  • Increase font size
  • Default font size
  • Decrease font size
Home Coding tips .Net How to get the domain name of an Url

How to get the domain name of an Url

This gives you back the domain name of an Url.

 Dim myUri As New Uri("http://www.codessentials.com/codingtips/dotnettips.html")
messagebox.show(myUri.Host)

 

Bookmark

AddThis Social Bookmark Button


Newsflash

Yadis! Backup 1.9.8 is released!

See the new features right here!

Download this version here!