public void RefreshUpdateStatusClients(ArrayList NewNeedToUpdateIpList, string fullUpdatePath) { NeedToUpdateIpList = NewNeedToUpdateIpList; foreach (DataTerminalSession SS in StorekeeperSessions) { SS.NeedToUpdate = NeedToUpdateIpList.IndexOf(SS.GetClientIP()) != -1; SS.FullUpdatePath = fullUpdatePath; FullUpdatePath = fullUpdatePath; } }