I have a program that extends plugins using the Microsoft Extensibility Framework. But I do not want unreliable sources to produce plugins that may be unsafe. Therefore, I want to sign plugins (possibly with Visual Studio embedded in the signature) and check whether the plugins really trust when the program starts.
I did not find a way to verify the signing of the DLL inside C #. And also there is a problem that I am loading plugins with DirectoryCatalog. It is impossible to say which plugin is from which file. Does anyone know a way to do this?
Thanks for any help, Marks
Marks source share