I am writing a security measure with an application I'm writing where I have a securityDLL that is included and signed with an SNK. If this assembly is present, I check the Byte array that is returned when getting it's Public Key, and comparing that to my application.
Is this adequate security to ensure that someone hasn't modified my assembly or provided their own DLL in the correct location that would return the Public Key?
I've looked at what the obfuscators do and they resign my assembly, but are they actually using the SNK or are they reading the internals of the assembly and re-using that?