/// <summary> Refresh the list of ip restriction ranges by pulling the data back from the database </summary> /// <returns> TRUE if successful, otherwise FALSE </returns> public static bool RefreshIP_Restrictions() { try { lock (settingsLock) { lock (ipRestrictionsLock) { DataTable ipRestrictionTbl = Engine_Database.Get_IP_Restriction_Ranges(null); if (ipRestrictionTbl != null) { ipRestrictions = new IP_Restriction_Ranges(); ipRestrictions.Populate_IP_Ranges(ipRestrictionTbl); } } } return(true); } catch { return(false); } }