using CryptUnprotectData api from c#

From: ziggy (dont_at_send.mails)
Date: 06/29/05


Date: Wed, 29 Jun 2005 11:18:41 +0200

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.



Relevant Pages

  • using CryptUnprotectData api from c#
    ... i'm trying to use function from crypt32.dll in dot net, ... An unhandled exception of type 'System.TypeLoadException' occurred in ... Could not load type WinApis from assembly ... Prev by Date: ...
    (microsoft.public.dotnet.framework)
  • Re: using CryptUnprotectData api from c#
    ... Dominick Baier - DevelopMentor ... Could not load type WinApis from assembly ...
    (microsoft.public.dotnet.framework.aspnet.security)