本文共 88 字,大约阅读时间需要 1 分钟。
通过httpContext.获取当前地址当前主机域名
string url = HttpContext.Current.Request.Url.Host.ToString();
转载地址:http://axegl.baihongyu.com/