using CryptUnprotectData api from c#

Z

ziggy

Hi,

i'm trying to use function from crypt32.dll in dot net, and get exception:

An unhandled exception of type 'System.TypeLoadException' occurred in
WindowsApplication1.exe

Additional information: Could not load type WinApis from assembly
WindowsApplication1, Version=1.0.2006.19524, Culture=neutral,
PublicKeyToken=null because the method CryptUnprotectData has no RVA.


can anyone shade some light on the subject?

TIA, z.
 
Z

ziggy

well, i just get a message "exception decrypt"
i'll try to further investigate this.
thahks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,616
Members
45,306
Latest member
TeddyWeath

Latest Threads

Top