Example #1
0
        public string BuscaInformacaoAtualizacao(string sVersao)
        {
            try
            {
                HLP.WebService.Ws_versionamento_Cliente.Verisionamento ws = new HLP.WebService.Ws_versionamento_Cliente.Verisionamento();
                return ws.BuscaInforcoesSobreAtualizacao(sVersao);
            }
            catch (Exception)
            {
                return "";
            }

        }
Example #2
0
        public bool VerificaAtualizacaoDisponivel()
        {
            try
            {
                HLP.WebService.Ws_versionamento_Cliente.Verisionamento ws = new HLP.WebService.Ws_versionamento_Cliente.Verisionamento();
                return ws.VerificaVersaoLiberadaParaCliente(belStatic.sNomeEmpresa);
            }
            catch (Exception)
            {
                return false;
            }

        }
Example #3
0
        public bool VersaoDisponivelIgualLiberada(string sUltimaVersao)
        {
            string sUltimaVersaoDisp = "";

            HLP.WebService.Ws_versionamento_Cliente.Verisionamento ws = new HLP.WebService.Ws_versionamento_Cliente.Verisionamento();
            sUltimaVersaoDisp = ws.BuscaUltimaVersaoDisponivel();

            if (sUltimaVersao == sUltimaVersaoDisp)
            {
                return true;
            }
            else
            {
                return false;
            }
        }