在线更新C#程序 [英] Online updating a C# program

查看:113
本文介绍了在线更新C#程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候,



如果已经提出此问题,我很抱歉。我试过使用搜索功能,但找不到适合我的情况的任何答案。



我有一个真正简单的C#表单应用程序,只有1个文件,一个exe 。
我目前通过4shared发布,人们可以在此下载它。但是,每次我对程序进行更改时,用户都必须从4shared下载新版本。



现在这不是一个理想的情况,当我创建升级时,我是一个noob,但我希望的情况是该程序查看网站/ ftp服务器,我部署了一个新版本。



我正在寻找一种在我的程序中查看该网站/ ftp服务器上的文件的方法,并决定是否有可用的新版本。
如果网站/ ftp服务器中有新版本,我希望程序自行更新到最新版本。



希望你们可以帮助我解决这个问题,我希望能够解释我的情况!

看看ClickOnce。它会为你做这件事。


Greetings,

I'm sorry if this question has been asked already. I've tried using the search function but couldn't find any answer that suited my situation.

I have a real simple C# form application of only 1 file, a exe. I distributed this currently by 4shared where people can download it as pleased.

However, every time I make changes to the program people will have to download the new version from 4shared.

Now this isn't a ideal situation and I'm a noob when it comes to creating upgrade but the situation I wish is that the program looks at a website / ftp server where I deploy a new version.

I'm looking for a way inside my program to look at the file on that website / ftp server and decide wether there's a new version available. If there is a new version available in the website / ftp server I would like for the program to update itself to the newest version.

Hope you guys can help me out with this and I hope I explained my situation enough !

解决方案

Have a look at ClickOnce. It will do this for you.

这篇关于在线更新C#程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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