Signing an Assembly with Strong Name !

Strong-Naming provides a unique identity to your assembly. It should not be taken as a security method.

A Strong-Named Assembly contains the simple text name of the assembly, the version number, optional culture information, a digital signature, and the public key that corresponds to the private key used for signing.

Strong naming your assembly allows you to include your assembly into the Global Assembly Cache (GAC).

Signing an Assembly with Strong Name-

The easiest way to do it is by using Visual Studio.

  1. In Solution Explorer, right click on your project and select properties.
  2. Select the Signing tab.
  3. Select the Sign the check box.
  4. In the Choose a strong name key file box, choose <Browse…>, and then navigate to the key file. To create a new key file, choose<New…> and enter its name in the Create Strong Name Key dialog box.

strong name

More on Strong-Named Assemblies :

Strong-Named Assemblies (MSDN)

How to Sign an Assembly with Strong Name (MSDN)

Please leave your comments and feedback.

Thanks for checking out !

Categories
Comments
All comments.
Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. How to register an Assembly in GAC without using GacUtil.exe ! | TechManyu

    […] In such scenario you can register Assembly in GAC programmatically using Publish.GacInstall method. First you should sign your Assembly with a Strong Name. […]

  2. How to register an Assembly in GAC without using GacUtil.exe ! | TechManyu

    […] register Assembly in GAC programmatically using Publish.GacInstall method. First you should sign your Assembly with a Strong Name. Now follow the below […]

  3. How to register an Assembly in GAC without using GacUtil.exe ! – TechManyu

    […] register Assembly in GAC programmatically using Publish.GacInstall method. First you should sign your Assembly with a Strong Name. Now follow the below […]