BgEngine.Web.Helpers.BlackListRepository.GetAllIpsInBlackList C# (CSharp) Method

GetAllIpsInBlackList() public static method

public static GetAllIpsInBlackList ( HttpServerUtility server ) : void
server System.Web.HttpServerUtility
return void
        public static void GetAllIpsInBlackList(HttpServerUtility server)
        {
            string reader = File.ReadAllText(server.MapPath(Resources.AppConfiguration.BlackListIpFile));
            Ips = reader.Split(new char[] { ';' }).AsQueryable();
        }
BlackListRepository