/// /// 是否外部数据提交 /// /// True是外部数据库 false 本站数据 public static bool CheckOutWebString() { string server_v1 = HttpContext.Current.Request.ServerVariables["HTTP_REFERER"]; //获取... Read More
string strPath = System.Web.HttpContext.Current.Server.MapPath("~/App_Data/Interface.xml"); System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument(); //定义XmlDocument对象 xmlDoc.... Read More
public string GetIPByDomain(string url){ if (url.Trim() == string.Empty) return ""; try { System.Net.IPHostEntry host = System.Net.Dns.GetHostEntry(url); return host.Addr... Read More