Ciao a tutti io ho un problema con i import di una Dll.
In codebehind provo ad importare cosi:

[DllImport("C:\\WINDOWS\\system32\\CryptoSrvLib.dll ")]
public static extern long VerifySign(string pPublicKey, long dimPubKey, string pDigest, long dimDigest, string pText, long dimText);

Quando vado ad utilizzare la funzione importata purtroppo mi da questo errore:

Unable to load DLL 'C:\WINDOWS\system32\CryptoSrvLib.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)



Qualcuno sa aiutarmi?
Devo per caso registrare la Dll?
Ringrazio in anticipo per la disponibilità.