Tuesday, February 07, 2006

.NET20 : DPAPI Wrapper

In .NET 1.1, if you want to use DPAPI to protect your secret data, you need to use P/Invoke and write your own wrapper class to call the DPAPI function.

However, In .NET 2.0, the DPAPI wrapper class has been built into the framework itself.The class is ProtectedData in System.Security.Cryptography namespace.

Labels:

0 Comments:

Post a Comment

<< Home