C#检查网上更新 [英] C# check for update over web
本文介绍了C#检查网上更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
那里,
i想创建一个应用程序,检查是否是对网络上的链接/文件的更新,如果有的话我必须能够下载它。如果没有更新什么都不做。
你能帮助我吗谢谢。
解决方案
开始这里: http:// stackoverflow.com/questions/780594/how-can-i-make-my-c-sharp-application-check-for-updates/6086281#6086281 [ ^ ]
如果要检查应用程序更新,可以使用ClickOnce部署。点击这里:
http:// msdn.microsoft.com/en-us/library/142dbbz4%28v=vs.90%29.aspx [ ^ ]
否则你需要做这是你自己的代码。您可以使用WebClient类,例如:
http:/ /msdn.microsoft.com/en-us/library/system.net.webclient.aspx [ ^ ]
祝你好运!
< blockquote>感谢这个视频教程,你可以学习如何建立一个很棒的更新系统。
它的工作原理非常好,你可以轻松地将它切割下来。
(我发现最好的更新系统,直到现在)
http://www.youtube.com / watch?v = 325Uxy5nVI0& feature = c4-overview-vl& list = PL3iOx6lykrwqc_KuJWIU3yAyTP2C7h_xE< / a> [ ^ ]
希望有帮助
hi there,
i would like create a application that checks if the is a update on a link/file on the web if there is i must be able to download it. if there is no update do nothing.
can you you help me thank you.
解决方案
Start here : http://stackoverflow.com/questions/780594/how-can-i-make-my-c-sharp-application-check-for-updates/6086281#6086281[^]
If you want to check application updates you can use a ClickOnce deployment. Check out here:
http://msdn.microsoft.com/en-us/library/142dbbz4%28v=vs.90%29.aspx[^]
Otherwise you need to do this yourself in code. You can use the WebClient class for example:
http://msdn.microsoft.com/en-us/library/system.net.webclient.aspx[^]
Good luck!
Hi, thanks to this video tutorial, you can learn how to make a great update system.
its works great, and you can cutomize it easly.
(the best update system i found untill now)
http://www.youtube.com/watch?v=325Uxy5nVI0&feature=c4-overview-vl&list=PL3iOx6lykrwqc_KuJWIU3yAyTP2C7h_xE</a>[^]
hope it helps
这篇关于C#检查网上更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文