问题描述
CredEnumerate函数仅返回Windows凭据.我还需要Web凭据.我看到了Windows.Security.Credentials.PasswordVault命名空间,但它不适用于桌面应用程序.
CredEnumerate function returns only WindowsCredentials. I also need Web Credentials. I saw Windows.Security.Credentials.PasswordVault namespace but it is not avaiable for desktop apps.
我尝试在第二个第二个参数上传递1,但它没有改变任何内容.
I tried to pass 1 on second second parameter but it didn't change anything.
我还能做什么?我正在等待建议.
What else can i do? I'm waiting suggestions.
谢谢
推荐答案
谢谢您在这里发布.
对于您的问题,如何设置Filter的参数?
For your question, how do you set the parameter of Filter?
也许您可以将过滤器设置为null,它将获得所有凭据.
Maybe you could set the Filter to null, it will all credentials.
有关更多详细信息,请参阅MSDN文章.
For more details, please refer to the MSDN article.
https://msdn.microsoft.com/zh-cn/library/windows/desktop/aa374794(v = vs.85).aspx
我希望这会有所帮助.
最好的问候,
温迪
这篇关于CredEnumerate仅返回WindowsCredentials的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!