'How to call a C# DLL method from electron?

I have an electron app which needs to call some methods from an existing DLL. The DLL is a C# DLL and I tried using electron-edge-js but got some errors like : The edge module has not been pre-compiled for Electron version

Can you please let me know how can I call C# DLL methods from electron? Also if you can point me to a sample code for the same.

Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source