EDIT (tutta la questione, era troppo chiaro)Perché .NET non trova la dll di OpenSSL.NET?
voglio usare OpenSSL.NET
L'OpenSSL.NET installare pagina di istruzioni: INSTALL
Make sure you have libeay32.dll and ssleay32.dll in the current working directory of your application or in your PATH. DONE
In your .NET project, add a reference to the ManagedOpenSsl.dll assembly. DONE
ho messo libeay32.dll
e ssleay32.dll
in entrambi i miei bin/Debug
e bin/Release
directory. Li ho anche inseriti in system32
.
Ecco il mio codice completo:
using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
try
{
OpenSSL.Crypto.RSA rsa = new OpenSSL.Crypto.RSA();
}
catch (Exception e)
{
Console.WriteLine(e.InnerException.Message);
}
Console.Read();
}
}
}
ottengo il seguente errore: Unable to load DLL 'libeay32' http://localhostr.com/files/a719c5/Error.gif (Impossibile caricare la DLL 'libeay32')
Ecco il registro Process Monitor (su richiesta): alt text http://localhostr.com/files/726a46/ProcMon.gif
Cosa sto sbagliando? Perché la DLL non è stata trovata?
BTW, C# non ricerca per DLL - .NET sì. –
Il sistema è a 64 bit? E, ancora più importante, è la tua app .NET AnyCPU o x86? – ConsultUtah
Il mio sistema è a 32 bit e non so come controllare le altre impostazioni. – Lazlo