locked
what is Public Key Token RRS feed

  • Question

  • what is a Public Key Token

    how do you create one for a wpf application?

    it is mandatory to create one?


    • Edited by marck68 Tuesday, January 24, 2012 8:04 AM
    • Moved by Annabella Luo Wednesday, January 25, 2012 7:48 AM (From:Windows Presentation Foundation (WPF))
    Tuesday, January 24, 2012 7:45 AM

Answers

  • HI marck68,

    Welcome to the MSDN forum.

     

    what is a Public Key Token

    The public key token is a 64-bit hash of the public key which corresponds to the private key used to sign the assembly. It's used to make an assembly name unique, so two strongly named assemblies can have the same filename, but .NET will treat them as different assemblies.

     

                    how do you create one for a wpf application?

     See the details to create a strong name assembly in .Net, include WPF application.

                    How To Create an Assembly with a Strong Name in .NET Framework SDK

                    Strong Name Tool (Sn.exe)

                    How to: Sign an Assembly with a Strong Name

    You can also create it with Visual Studio.

                    Edit the WPF application’s properties->Signing

                                    How to: Sign an Assembly with a Strong Name

    Hope it helps.


    Best Regards,
    Rocky Yue[MSFT]
    MSDN Community Support | Feedback to us
    • Marked as answer by marck68 Thursday, January 26, 2012 10:17 AM
    Thursday, January 26, 2012 3:57 AM

All replies

  • Hi marck68,

    Thank you for your post.

    According to your description, I think your issue is about CLR, so I'll move your thread to CLR forum:http://social.msdn.microsoft.com/Forums/en-US/clr/threads.

    Thank you for your understanding.

    Have a nice day.


    Annabella Luo[MSFT]
    MSDN Community Support | Feedback to us
    Wednesday, January 25, 2012 7:48 AM
  • HI marck68,

    Welcome to the MSDN forum.

     

    what is a Public Key Token

    The public key token is a 64-bit hash of the public key which corresponds to the private key used to sign the assembly. It's used to make an assembly name unique, so two strongly named assemblies can have the same filename, but .NET will treat them as different assemblies.

     

                    how do you create one for a wpf application?

     See the details to create a strong name assembly in .Net, include WPF application.

                    How To Create an Assembly with a Strong Name in .NET Framework SDK

                    Strong Name Tool (Sn.exe)

                    How to: Sign an Assembly with a Strong Name

    You can also create it with Visual Studio.

                    Edit the WPF application’s properties->Signing

                                    How to: Sign an Assembly with a Strong Name

    Hope it helps.


    Best Regards,
    Rocky Yue[MSFT]
    MSDN Community Support | Feedback to us
    • Marked as answer by marck68 Thursday, January 26, 2012 10:17 AM
    Thursday, January 26, 2012 3:57 AM