How to fetch user Id and password from windows credential manager using C#.Net in Framework 3.5
I am using visual studio 2008 with .Net Framework 3.5.
I am trying to store user id and password into windows credential manager and fetch it back using C#.Net.
Now, I am using windows DLL - Advapi32.dll in the code, to write user id and password into Windows Credential Manager, which is working fine without any issue, but when I am trying to fetch user id and password, I get details in a pointer parameter and I am unable to retrieve values from that pointer variable.
So, is there any code which can be used to fetch values from Windows Credential manager, using VS2008 and .Net Framwork 3.5 ?
IF its not possible to read value using VS2008 and .Net Framwork 3.5, then please let me know.
Note : I am not able to use NuGet libraries as it's not available on Visual studio 2008