C# DLL into ELECTRON app


#1

I have to call a method from ELECTRON app and to display the returned string.

Details of files:

DLL : ReadFile.dll

namespace ReadFile
{
public class Read
{
public string readFileContents(string filePath)
{
string value = File.ReadAllText(filePath);
return value;
}
}
}

I have to call this method and display the return value in electron.


#2

Try using https://github.com/kexplo/electron-edge