c# - .NET 4.0 Late Binding: Ensure Assembly Authenticity? -


i have develop .net c# application supports plugins. i’ve found lot of information on internet , doesn’t seem hard.

i have specification assemblies of modules must validated on assembly level. when late binding occurs , assembly loads, host application must absolutely sure that:

  1. the assembly wasn’t changed.
  2. the assembly indeed supplied company.

i read possible sign assembly using key, far understood, certify assembly wasn’t changed.

what must done in order sure of assemblies authenticity?

any appreciated.

like said in comment, has been asked before: can strong naming assembly used verify assembly author?

this link gives example of how verify public key against known set of public keys: http://blogs.msdn.com/b/shawnfa/archive/2004/06/07/150378.aspx it's kinda old, , don't know if there have been significant changes since then.

edit: see answer suggests same technique link shawnfa's blog above, still stands.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -