/// <summary> /// 提取网站主机部分就是host /// </summary> /// <param name="url">url</param> /// <returns>host</returns> public static string GetUrlHost(string url) { return(HttpUrlHelper.GetUrlHost(url)); }