Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a "STRONG NAME" in .NET? [duplicate]

People also ask

What is .NET strong naming?

Strong naming refers to signing an assembly with a key, producing a strong-named assembly. When an assembly is strong-named, it creates a unique identity based on the name and assembly version number, and it can help prevent assembly conflicts.

What is strong name signature?

A strong name signature is an identity mechanism in the . NET Framework for identifying assemblies. It is a public-key digital signature that is typically used to verify the integrity of data being passed from an originator (signer) to a recipient (verifier).

What is strong name in C sharp?

A name that consists of an assembly's identity—its simple text name, version number, and culture information (if provided)—strengthened by a public key and a digital signature generated over the assembly.


From MSDN:

A strong name consists of the assembly's identity — its simple text name, version number, and culture information (if provided) — plus a public key and a digital signature.

You can use strong naming to ensure that when you load a DLL you get exactly the DLL you were expecting and not some other DLL that happens to have the same name.


A 'strongly named' assembly is one that has been signed with a key to ensure its uniqueness (for example, in the GAC). See here for more details:

Creating and Using Strong Named Assemblies