Redian新闻
>
如何实现类似Windows Update的功能?
avatar
如何实现类似Windows Update的功能?# DotNet - 窗口里的风景
p*n
1
很多软件都有从一个网上的服务器自动更新的功能,
如何在服务器和客户端实现这个功能呢.
avatar
L*r
2
server:
login control
version control
1. client send version info to server
2. server calculate the diff.
3. client download update(patch) from server
4. client start installing automatically
5. restart machine if necessary. done.

【在 p***n 的大作中提到】
: 很多软件都有从一个网上的服务器自动更新的功能,
: 如何在服务器和客户端实现这个功能呢.

avatar
p*n
3
there is a really nice feature called BITS available now
to simplify this process:
http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/03/02/bits/TOC.ASP

【在 L*******r 的大作中提到】
: server:
: login control
: version control
: 1. client send version info to server
: 2. server calculate the diff.
: 3. client download update(patch) from server
: 4. client start installing automatically
: 5. restart machine if necessary. done.

avatar
L*r
4
Background Intelligent Transfer Service
Purpose:
Background Intelligent Transfer Service (BITS) provides the documentation an
d samples necessary to write client applications that transfer files (downlo
ads or uploads) between a client and server, and monitors jobs within the tr
ansfer queue.
Where Applicable:
Use BITS for applications that need to asynchronously transfer files in the
foreground or background, throttle the transfer to preserve the responsivene
ss of other network applications, a

【在 p***n 的大作中提到】
: there is a really nice feature called BITS available now
: to simplify this process:
: http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/03/02/bits/TOC.ASP

avatar
p*n
8
呵呵,发现有个现成的:
BITS-based application updater application block:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/updater.asp?_r=1
还有一个:Terrarium 用的是这个:
http://windowsforms.net/articles/appupdater.aspx

【在 L*******r 的大作中提到】
: 要不你做个example给大家看看。:)
:
: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnglobspec/ht
: ml/dimeindex.asp
: http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/03/02/bits/T

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。