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 ""; } }
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; } }
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; } }