I need to write PKCS11 library for some smart-card. I am C# developer and I do not want to use other languages. I use platform invoke to comunicate with cards API (it is no PKCS11).
How can I write library with PKCS11 interface in C# that will be available not only for .Net. What technologies i must use, what i must know (I have never done this things before)?
I hope, I will be enough some keywords in this subject for start. In what direction i must dig?
Thank you.
Search for “how to create an unmanaged DLL in C#“. Yet I should say that the idea to create a PKCS#11 driver DLL in C# is far from ideal due to a number of reasons which you will find in articles found using the above search link.