I'm working on a C# application which uses the EasyHook library for DLL Injection. EasyHook requires that any application using it be strongly named. In order to strongly name the application I need to make sure that all the libraries I use are strongly named as well.
This is easy to do for all of my managed libraries, but I also have an unmanaged c++ library which I need to strongly name. After some searching I can't seem to find a way to sign my unmanaged dll, even with开发者_开发问答 the source code. Can this be done, and if so what do I need to do?
Thanks for any suggestions or assistance!
I assume that you're calling the DLL using P/Invoke.
You don't need to (and cannot) strongly-name it.
Strong naming is a .Net concept that applies to managed assemblies (and C++/CLI); it has no meaning for unmanaged libraries.
精彩评论