I have an electron app which reads credit card details from card reader. They provided a c# dll to interact with app. I have no idea about how to read the dll methods from electron app.
First check the exposed functions in the dll using dependency walker. Then use the node module ffi to call the exposed functions in that dll.