What is a "STRONG NAME" in .NET?

John picture John · Jun 6, 2010 · Viewed 46.4k times · Source

Possible Duplicate:
What is strong naming and how do I strong name a binary?

Actually, yesterday I attended an interview. There they asked me 1 question about strong name. I was not able to guess what it is? please explain about this. Thanks.

Answer

Mark Byers picture Mark Byers · Jun 6, 2010

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.