获取当前Url的主机头 System.Web.HttpContext.Current.Request.Url.Host e.g.:http://www.cnblogs.com/blog-leo/ 转载于:https://www.cnblogs.com/blog-leo/p/3217214.html