C#后台获取当前系统根路径:
string absoluteurl = Context.Request.Url.AbsoluteUri.Replace(Context.Request.RawUrl, "") + "/UserAgreement.aspx";
获取到:http://localhost:26459/UserAgreement.aspx