为所有在加密提供程序的密钥容器提供枚举数。密钥容器是包含所有的关键数据库的一部分进行特定用户密钥对。返回的 IVsStrongNameKeys 接口的 EnumContainers 方法。
命名空间: Microsoft.VisualStudio.Shell.Interop
程序集: Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)
语法
声明
<InterfaceTypeAttribute()> _
<GuidAttribute("AF855397-C4DC-478B-ABD4-C3DBB3759E72")> _
Public Interface IVsEnumCryptoProviderContainers
[InterfaceTypeAttribute()]
[GuidAttribute("AF855397-C4DC-478B-ABD4-C3DBB3759E72")]
public interface IVsEnumCryptoProviderContainers
IVsEnumCryptoProviderContainers 类型公开以下成员。
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Next | 返回下一个或多个密钥容器。 |
![]() |
Reset | 返回枚举数到其原始状态。 |
页首
备注
有关使用 CryptoAPI 使用创建密钥容器的示例,请参见 Example C Program: Creating a Key Container and Generating Keys。
.gif)