Home > Software > .NET > Dot-Net
Interview Questions   Tutorials   Discussions   

Dot-Net - Explain about sn.exe ?

asked mar October 5, 2014 04:47 PM  

Explain about sn.exe ?


1 Answers

answered By siddhant   0  

Strong name consists of an Assemblys identity, that means the Assemblies can be assigned a cryptographic signature. The strong name guarantees the integrity of the assembly which prevents someone from taking over the name of the assembly.

Strong Name includes the name of the .net assembly, version number, culture identity, and a public key token. It is generated from an assembly file using the corresponding private key. Strong names guarantee name uniqueness by relying on unique key pairs.

To create a key pair

At the command prompt, type the following command:

sn -k fileName

In this command, file name is the name of the output file containing the key pair.

   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!