| 网站首页 | 模板 | 资料 | 源码 | 工具 | 开发 | 设计 | 安全 | 项目 | 网络 | 图片 | 系统 | 数据库 | 博客 | 会员中心 | 小说 | 
MYFTP 精品资料下载
网络学院
学习资料
源码模版
您现在的位置: 精品下载 >> 开发 >> .net >> 文章正文 用户登录 新用户注册
HTTP Downloader for Updater Application Block 2 (GotDotNet)            【字体:
HTTP Downloader for Updater Application Block 2 (GotDotNet)
作者:佚名    文章来源:不详    点击数:    更新时间:2007-10-7

asp" target="_blank">Microsoft Updater Application Block v2.0 中内置的 Downloader 是采用 asp" target="_blank">BITS 技术下载文件的。BITS 是 Background Intelligent Transfer Service 缩写。

asp" target="_blank">BITS 是 Windows 中新增的一项非常实用的文件传输功能,它通过 HTTP 异步地从远程服务器上下载文件。 asp" target="_blank">BITS 可以专门利用空闲带宽来处理多个用户的多个下载任务。 尽管 asp" target="_blank">BITS 不仅仅限于自动更新应用程序使用,但它是 Windows Update 使用的基础 API。 并且,由于它可用于任何应用程序,因此可用来完成创建自动更新应用程序的过程中所涉及到的大部分非常困难的工作。

有关如何利用 .NET 和 asp" target="_blank">BITS API 编写自动更新应用程序,可以参考《使用 .NET 和后台智能传输服务 API 来编写自动更新应用程序》和 asp" target="_blank">Microsoft Updater Application Block v2.0 的文档。

对于编写自动更新应用程序,BITS 技术是不错的选择,但不是所有 Windows 操作系统都支持它。

Run-Time Requirements

asp" target="_blank">BITS v2.0 is included in Microsoft® Windows® XP SP2 and Windows Server 2003 SP1.

You can also download asp" target="_blank">BITS v2.0 for Windows Server 2003, Windows XP SP1, Windows XP, Windows 2000 SP4, and Windows 2000 SP3. To download asp" target="_blank">BITS v2.0, go to the aspx?FamilyID=b93356b1-ba43-480f-983d-eb19368f9047&DisplayLang=en" target="_blank">Microsoft Download Center and install KB842773.

因此,实现一个以 HTTP 方式下载文件的 Downloader 是十分有必要的,今天终于在 GotDotNet User Sample 看到别人已经用 C# 实现了 aspx?SampleGuid=C639333E-A1EE-420E-9CC5-325879E74AE8" target="_blank">HTTPDownloader。由于作者没有提供 VB.NET 版本,使用 VB.NET 的朋友可以试一试 aspx" target="_blank">CodeTranslator 将代码转换成相应的 VB.NET 版本。




文章录入:chqnet    责任编辑:chqnet 
  • 上一篇文章:

  • 下一篇文章:
  • 最新热点 最新推荐 相关文章
    使用html表格和CSS进行混合网
    Html网页页面head区规范知识
    两分钟做个xhtml+css的网站首
    实用HTML文件的增强标记
    采用XHTML和CSS设计可重用可
    HTML中小meta的大作用
    HTML特殊字符显示
    HTML标记全集
    HTMLCSS教程
    介绍几个不常用的HTML标签
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)