如何在 Win7 和 Win8 上访问存储的凭据(PasswordVault?)? [英] How to access the stored credentials (PasswordVault?) on Win7 and Win8?

查看:19
本文介绍了如何在 Win7 和 Win8 上访问存储的凭据(PasswordVault?)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发现 Win8 在控制面板上有一个名为用户帐户和家庭安全的部分,带有凭据管理器.我想访问存储在那里的凭据(不是检索密码,而是将它们用作登录令牌).所以,基本上,我想搭便车使用已安装的软件.

I just discovered that Win8 has a section on the Control Panel called User Accounts and Family Safely with Credential Manager. I'd like to access the credentials stored in there (not to retrieve the passwords but to use them as tokens for a login). So, basically, I'd like to get a piggy-back ride on already installed software.

本次讨论中已经提出了最接近解决方案的建议,但它不是<强>那个关闭.

The closest to a solution has been suggested in this discussion and it's not that close.

  1. 我在哪里可以找到 Windows.Security.Credentials.PasswordVault 的程序集?我已经在谷歌上搜索了两个小时,但我只能获得有关应用程序的信息开发,而我将面向桌面.

  1. Where do I find the assembly for Windows.Security.Credentials.PasswordVault? I've been googling for two hours but I only get information on app development while I'll be targeting desktop.

有没有办法解决对 Win7 和 Win8 的预存储凭据的访问?我有点担心 Vault 设施在 Win8 中已经彻底改造,使其成为不可能同时针对两个平台.

Is there a way to resolve access to the pre-stored credentials for both Win7 and Win8? I fear a little bit that the vault facility has been drastically remodeled in Win8, making it impossible to target both platforms at once.

推荐答案

如何:使用引用管理器添加或删除引用 说:

在桌面项目中,Core 选项卡默认不显示.你可以通过打开快捷菜单来添加 Windows 运行时项目节点,选择卸载项目,添加以下代码片段,并重新打开项目(在项目节点上选择重新加载项目).当您调用 Reference Manager 对话框时,Core标签出现.

In the desktop projects the Core tab doesn’t appear by default. You can add the Windows Runtime by opening the shortcut menu for the project node, choosing Unload Project, adding the following snippet, and re-opening the project (on the project node choose Reload Project). When you invoke the Reference Manager dialog box, the Core tab appears.

<PropertyGroup>
    <TargetPlatformVersion>8.0</TargetPlatformVersion>
</PropertyGroup>

确保选中此选项卡上的 Windows 框.那么你应该能够使用 WinRT 元素.

Make sure to check the Windows box on this tab. You should then be able to use WinRT elements.

这篇关于如何在 Win7 和 Win8 上访问存储的凭据(PasswordVault?)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆