What is Strong Name ,What is Use Of that , what the strong name contains

Posted by Jameschowdare under C# on 4/17/2009 | Views : 1785 | Status : [Member] | Replies : 2
What is Strong Name ,What is Use Of that , what the strong name contains




Responses

Posted by: Vuyiswamb on: 4/17/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Afternoon Jameschowdare

Strong names are used to enable the stricter naming requirements associated with shared assemblies. Strong names have three goals:

Name uniqueness. Shared assemblies must have names that are globally unique.
Prevent name spoofing. Developers don't want someone else releasing a subsequent version of one of your assemblies and falsely claim it came from you, either by accident or intentionally.
Provide identity on reference. When resolving a reference to an assembly, strong names are used to guarantee the assembly that is loaded came from the expected publisher.
Strong names are implemented using standard public key cryptography. In general, the process works as follows: the author of an assembly generates a key pair (or uses an existing one), signs the file containing the manifest with the private key, and makes the public key available to callers. When references are made to the assembly, the caller records the public key corresponding to the private key used to generate the strong name.

Thank you for Posting at Dotnetfunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Jameschowdare, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Neeks on: 4/17/2009 [Member] Bronze

Up
0
Down
Strong Name(SN) is used in the Microsoft .NET framework to uniquely identify a component. This is done partly with Public-key cryptography.

It is used for computer programming.

The reason for using SN is, there may be chances of more than one component in DLL with the same name.

With the help of SN you can maintain different versions of a component.

You can refer http://www.codeproject.com/KB/security/StrongNameExplained.aspx for further details.

Thanks for posting,
Waiting for your response.

Jameschowdare, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response