locked
.NET Framework support for Windows Vault? RRS feed

  • Question

  • Is there any support in the .NET Framework for accessing a user's credential set?  I'm working with pure managed code that uses the .NET Framework and am hoping to use the Windows Vault without adding any dependency on any mixed assembly.  I did already see Kenny Kerr's 2005 wrappers, but was hoping that by now there might be some support in the .NET Framework for this.  If there is support, then please let me know the class name.  If there is not support, then why not and how likely is it that this support will be added in the future?
    Thank-you in advance...Jen
    Wednesday, January 6, 2010 8:09 PM

All replies

  • Hi,

    Checlk this: http://msdn.microsoft.com/en-us/library/aa480470.aspx

    Have a nice day...

    Best regards,
    Fisnik
    Coder24.com
    Friday, January 8, 2010 7:10 AM
  • Microsofts own replay: “Windows 7 includes a feature called ‘credential manager.’ This is similar to technology in past versions of Windows in that it stores your frequently used passwords so you can easily access and manage; however, in Windows 7 we’ve added the ability to back up or restore this information.  The default storage vault for the credential manager information is the ‘Windows Vault.’”

    According to this article: http://blogs.zdnet.com/microsoft/?p=2226
    Coder24.com
    Friday, January 8, 2010 7:12 AM
  • Hello Fisnik,

    Thanks, but .NET wrappers referenced by this article use unmanaged code (in other words they are mixed-mode assemblies) to access the credential set.  You can see this by looking at the code to Kerr::Credential::Save() which calls ::CredWrite().  I am programming in a hosted environment where unmanaged code is disallowed.  That is why I'm seeking a pure managed way to access the user's credential set.

    Thank-you...Jen

    Monday, January 11, 2010 4:44 PM
  • Hello Coder24.com,

    Thanks, but I saw this already.  Still I cannot find a 100% managed way to access the user's credential set.

    Thank-you...Jen

    Monday, January 11, 2010 4:47 PM
  • Hi Jen:

    Check this: http://support.microsoft.com/kb/180548

    It might help you...

    Have a nice day...

    Best regards,
    Fisnik
    Coder24.com
    Wednesday, January 13, 2010 12:28 PM