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