public static bool CheckWebServiceClient(out string msg, string clientIp) { msg = string.Empty; if ((WebServiceClientIpList.Count > 0) && (!IpUtils.ContainIp(WebServiceClientIpList, clientIp))) { msg = "客户端(" + clientIp + ")未被授权访问"; return(false); } return(true); }