C#: why sign an assembly?

后端 未结 7 695
太阳男子
太阳男子 2020-11-28 02:04

In some C# code I have taken over (in Visual Studio 2005), I have noticed that the assemblies are all signed with the same .snk file.

  • Wh
相关标签:
7条回答
  • 2020-11-28 03:11

    In addition to existing answers, I would add that you must use the signing when your DLL is going to be dynamically loaded and consumed by 3rd party software. It is not technical requirement per se but it is rational, therefore very common, that the 3rd party software producer enforces such policy due security concerns.

    Examples where you must sign an assembly:

    • development of Windows Shell / Windows Explorer extension, like: context menu extension for Windows Explorer
    • development of Visual Studio extensions, like: Project/Item Template Wizard GUI
    0 讨论(0)
提交回复
热议问题