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

BITS C++ Application Examples

· 52CE 我爱测

The Background Intelligent Transfer Service (BITS) application examples in this section are written in C++. They demonstrate a range of tasks that can be completed by using BITS features. Each application is separated into a series of steps.

The Background Intelligent Transfer Service (BITS) application examples in this section are written in C++. They demonstrate a range of tasks that can be completed by using BITS features. Each application is separated into a series of steps.

The following table lists the C++ examples in this section.

Example Description
Example: Common Classes This example contains common classes that are used for the examples in this section. These common classes include a callback class, a generic error class, and a resource acquisition helper class for the COM CoInitializeEx function.
Example: Specifying Server Authentication Credentials for a BITS Transfer Job This example gets the authorization scheme and credentials from the user, creates a BITS transfer job, sets the credentials for the job, and monitors the status of the job.
Example: Using SSPI Authentication Encoding with BITS. This example demonstrates the use of Security Support Provider Interface (SSPI) authentication and BITS to get the credentials from a user, encode the credentials, and set the encoded credentials on a BITS transfer job.
Example: Adding a Helper Token to a BITS Transfer Job This example creates a BITS transfer job and adds a second set of credentials to the job.

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)

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

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