I had created a dll file(using C++) which captures password changes. Now I need to send it to a Windows service(created by me using C#) which uses WCF service. How to communicate with the service?
(the dll is primitive,without classes,and uses _stdcall as it needs to called by Windows OS)
Or are there any other ways to do it? Can the dll itself can be written in C#?(unmanaged)
I was in a similar situation as you and I found a much easier solution. The sourceforge project
passwdhk
gives you a pre-made native DLL that implements the password filter interface. That DLL then will launch a external program (which you can write entirely in C#) and passing the username and password information in as arguments.