Posts Tagged ‘COM interop’

Implementing DPAPI in Compact Framework

Posted: 13th May 2011 by thegrayzone in Development
Tags:

I have used the Windows Data Protection API in a number of Windows applications for machine encrypting values. I was trying to implement CryptProtectData and CryptUnprotectData for use on a Windows Mobile device. I tried using the wrapper class that I use for standard Windows development with the following DllImports: [DllImport("crypt32.dll", EntryPoint = "CryptProtectData", CharSet [...]