1

is it possible to access the Windows security class in .NET 2.0 (C#) and saving/reading data from it? ( Credential Manager )

I mean the "Credential Manager" where windows saving the Remotedesktop authentication data etc.

Or if not how i can save passwords secure? Like Encrypt data with user person informations or hardware id or something else which is unique.

Thanks in Advance!

PatrickB
  • 3,225
  • 5
  • 31
  • 55
  • You can use the `Credential Manager` using some `DllImport`: http://stackoverflow.com/a/22435672/2996339 – meziantou May 08 '15 at 14:58

1 Answers1

3

You can use the Win32 API CredWrite and CredRead.

See also this and this answer.

Community
  • 1
  • 1
MvdD
  • 22,082
  • 8
  • 65
  • 93