Get the Host Name in ASP.NET C#


/ Published in: C#
Save to your folder(s)

Will return the host name that the site is running on. Example:

`http://mysite.com` or `http://myspecialsite.com:102`

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.