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

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

问题描述

我刚刚发现,Win8的有控制面板上的一节名为用户帐户和家庭安全的用的凭据管理器的。我想访问存储在那里的​​凭据(不为检索的密码,但将它们作为令牌登录)。所以,基本上,我想获得已安装软件背驮式的车程。

最近的一个解决方案已在建议这个讨论这不是< STRONG>是关闭。


  1. 我在哪里可以找到大会的 Windows.Security.Credentials.PasswordVault 的吗我一直在谷歌上搜索了两个小时,但我只得到应用信息发展的同时,我将针对台式机。


  2. 有没有解决访问为Win7和Win8的的pre-存储的凭据的方式?我有点恐惧保管库设施已在Win8中被彻底改造,因此不可能一下子两个平台的目标。



解决方案

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


  

在桌面上的项目核心选项卡默认情况下不出现。您
  可以通过打开的快捷菜单中添加Windows运行时
  项目节点,选择卸载项目,把下面的代码片段,
  并重新打开项目(该项目节点上选择刷新
   项目)。当调用的参考经理对话框中,核心
  标签将会出现。

 &LT;&的PropertyGroup GT;
    &LT; TargetPlatformVersion&GT; 8.0 LT; / TargetPlatformVersion&GT;
&LT; /&的PropertyGroup GT;

请一定要检查该选项卡上的Windows中。那么你应该
  能够使用的WinRT元素


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. 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.

  2. 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.

解决方案

How to: Add or Remove References By Using the Reference Manager says:

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>

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

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

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