There is a version AppDomain.CurrentDomain.Load()
that accepts byte[]
containing the contents of a DLL file for download. Using this, you can manually download any .NET assembly that you can access, be it on the local disk, network, compressed, resource, loaded, etc.
In C #, you can use something like this:
public static Assembly LoadAssembly(string filename)
{
var content = System.IO.File.ReadAllBytes(filename);
return AppDomain.CurrentDomain.Load(content);
}
Not even trying to translate this into Python.NET or Matlab.
, . , DLL , , . .