我现在想通过WebService中的函数,获得调用这个服务的系统的域名,比如:www.baidu.com/default.aspx 调用了我的Web服务的函数,
我想在WebService的函数中获得www.baidu.com ,这个访问的域名。如何获得?
我尝试了System.Web.HttpContext.Current.Request.UrlReferrer.ToString(); 不行NULL值
System.Web.HttpContext.Current.Request.ServerVariables["HTTP_REFERER"]; 不行NULL值请大家帮帮忙,谢谢十分感谢。   在线等!!!