locked
Using microsoft public key token RRS feed

  • Question

  • Hi, a newbie to CLR.

    Suddenly my mind flashed a wild thought. Assume I had created my own assembly and I were going to use a Microsoft assembly's public key token. Could Microsoft's private key recognize it and think it would be a .Net assembly?

    Thursday, June 12, 2014 12:39 PM

Answers

  • Hi.

    No, it would think it was a Microsoft assembly.

    The reason is, to sign the assembly you need the private key. The public key can only be used to verify that it was signed by the holder of the private key.

    Regards,
    Nick.

    Thursday, June 12, 2014 2:17 PM