/// <summary> /// This method check URL entered in the XML list, the method will check if the loaded XML file is /// v1 or v2 version, and will check if the particular file contains the URL, and accordingly gives the result /// </summary> /// <param name="findString"></param> /// <returns>bool</returns> public bool CheckUrl(Uri findString) { Configuration config = null; if (LoginController.config == null) { using (ConfigurationController configController = new ConfigurationController()) { config = configController.GetConfiguration(); } } else { config = LoginController.config; } return(xmlHelper.CheckUrl(findString, config)); }