大网数据广告活动
账户与安全

Smart Card Resource Manager

· 52CE 我爱测

The *smart card* *resource manager* manages access to *readers* and to *smart cards*. To manage these resources, it performs the following functions.

The smart card resource manager manages access to readers and to smart cards. To manage these resources, it performs the following functions.

  • Identifies and tracks resources.

  • Allocates readers and resources across multiple applications.

  • Supports transaction primitives for accessing services available on a given card.

    [!Note]
    This is an important point because current cards are single-threaded devices that often require the execution of multiple commands to complete a single function. Transactions allow multiple commands to be executed without interruption, ensuring that intermediate state information is not corrupted.

The resource manager can be accessed directly by way of the resource manager API or indirectly through any smart card service provider.

The resource manager API is a set of Windows functions that provide direct access to the resource manager's services. For an overview of the Windows functions provided by the API, see Smart Card Resource Manager API. In comparison, smart card service providers use COM interfaces.

Many of the Windows functions in the resource manager API have equivalents in the properties and methods of the smart card service providers' COM interfaces. And although most application developers will find COM easier to work with, some applications will still need to use the Windows functions to perform certain tasks. For example, applications that need to manipulate the list of readers or reader groups in the smart card database, and those that need direct control of a reader, must use the resource manager API. The services that provide these capabilities are available only in the Windows functions, not in the COM provided by the service providers.

For information about how the resource manager is implemented in Windows, see Resource Manager Implementation.

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)

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

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