大网数据广告活动
网络与域名解析

BITS Samples and Tools

· 52CE 我爱测

The following section contains step-by-step C++ examples for Background Intelligent Transfer Service (BITS).

The following section contains step-by-step C++ examples for Background Intelligent Transfer Service (BITS).

Section Purpose
BITS C++ Application Examples C++ examples that demonstrate a range of tasks that can be completed by using BITS features.

In addition, BITS includes the following samples in Windows SDK. The samples are located under InstallDirectory\Samples\Web. Each sample includes a Readme.txt file that explains how to install and run the sample. You can download the Windows SDK from Microsoft Windows Software Development Kit. BITS is included in the Core SDK.

Note:
Windows Vista: The samples on this page are included in the Microsoft Windows SDK for Windows Vista. However, the ClientCert sample is not included.

Sample Purpose
BITS_IE Shows how to use the BITS interfaces to download files from a server.
Controls Shows how to use the BITS interfaces to control and configure BITS options, including using some of the peer cache administration methods. BITS 4.0: The Controls sample is deprecated.
Downloads Shows how to use the BITS interfaces to download files from a server.
HTTPHeaders Shows how to use the BITS interfaces to modify HTTP headers.
PeerCaching Shows how to use the BITS interfaces to enable a job to download from a peer. BITS 4.0: The PeerCaching sample is deprecated.
Uploads Shows how to use the BITS interfaces to upload a file.
UploadSample Shows how to use the BITS interfaces to upload a file to a server and receive a reply.

BITS provides the following tool.

Tool Purpose
BITSAdmin Command-line tool to create download or upload jobs and monitor their progress.

Additional Information

If you need additional information, consider asking questions in the BITS newsgroup microsoft.windows.public.backgroundtransfer.

The newsgroup server is msnews.microsoft.com.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。