//@Brief Comprueba si existe una actualización para el RemoteManager //@Paran[in] swVersion Versión del RemoteManager //@Return Boolean True si existe una actualización public bool CheckUpdateConnectedRemoteManager(string swVersion) { bool bOk = false; try { m_mutexHostControllerEndpoints.WaitOne(); foreach (EndpointAddress ep in m_hostControllerEndpoints) { BasicHttpBinding binding = new BasicHttpBinding(BasicHttpSecurityMode.None); JBCHostControllerServiceClient serviceClient = new JBCHostControllerServiceClient(binding, ep); serviceClient.Open(); bOk = serviceClient.CheckUpdateConnectedRemoteManager(swVersion); serviceClient.Close(); } } catch (Exception ex) { LoggerModule.logger.Error(System.Reflection.MethodInfo.GetCurrentMethod().Name + ". Error: " + ex.Message); } finally { m_mutexHostControllerEndpoints.ReleaseMutex(); } return(bOk); }