开发者

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

This question already has answers here: Closed 12 years ago.

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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜