嗨我需要检查桌面应用程序(Windows窗体)的自动更新。 [英] Hi I need to check automatic updation for desktop application (windows forms).

查看:135
本文介绍了嗨我需要检查桌面应用程序(Windows窗体)的自动更新。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我需要检查桌面应用程序(Windows窗体)的自动更新。我已经使用Windows窗体开发了应用程序。如果有任何更新可用,它应该在打开软件或它时提示更新。 />




1.如果用户没有更新应用程序意味着整个应用程序将被关闭



2.仅在完成更新后,用户可以运行软件或应用程序。



例如Whatsapp,防病毒试用版已经结束。(试用版)结束后运行)



如何做到这一点?

Hi I need to check automatic updation for desktop application (windows forms).i have developed application using windows forms.If any update is available for that, it should prompt a "updates" while opening a software or it.


1.If user didn't update the app means, the whole application will be closed

2.After completion of update only, the user can run the software or application.

e.g Whatsapp, antivirus trial version ended.(trial can't run after ended)

how to do this?

推荐答案

编写一个带有versionId的web服务作为参数并将其托管在您的服务器上。
来自您的应用程序的
调用此Web服务并匹配服务器版本和应用程序版本。如果版本不同则传递false,然后检查此错误关闭你的申请。
Write a webservice that takes versionId as parameter and host it on your server.
from your application make a call to this webservice and match server version and application version.If the version is different pass false and then on a check of this false close your application.


这篇关于嗨我需要检查桌面应用程序(Windows窗体)的自动更新。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆