I'm trying to use the DPAPI C# code found in this article. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT08.asp
I can call Encrypt just find and it returns the correct encrypted data. But when I try and call Decrypt it throws the exception b/c of these lines of code:
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.