M
Martin Carpella
Hello,
I'm currently developing a Windows Service that should dynamically load
assemblies ("plug-ins") for special tasks. As the service runs with
Local-System privileges I am not willing to load arbritrary code without
verifying it first. My idea was to check if the assembly is signed with
the same key as "I" (== the loading assembly) am.
Is the Public Key of AssemblyName reliably the public key the assembly
was signed with? Is there any way to verify if the assembly has been
verified (i.e. has not been excluded from checks with "sn.exe -Vr")?
Thanks in advance!
Best Regards,
Martin
I'm currently developing a Windows Service that should dynamically load
assemblies ("plug-ins") for special tasks. As the service runs with
Local-System privileges I am not willing to load arbritrary code without
verifying it first. My idea was to check if the assembly is signed with
the same key as "I" (== the loading assembly) am.
Is the Public Key of AssemblyName reliably the public key the assembly
was signed with? Is there any way to verify if the assembly has been
verified (i.e. has not been excluded from checks with "sn.exe -Vr")?
Thanks in advance!
Best Regards,
Martin