什么是"强名称"在.NET? [英] What is "STRONG NAME" in .NET?

查看:127
本文介绍了什么是"强名称"在.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/1436879/what-is-strong-naming-and-how-do-i-strong-name-a-binary">What强命名以及如何强名称的二进制?

其实,我昨天参加了一个intrview..in,他们问1个问题有关强name..I不能能猜到这是什么?.PLS解释有关this..thanks。

Actually, yesterday I attended an intrview..in that they asked 1 question about strong name..I can't able to guess what it is?.pls explain about this..thanks.

推荐答案

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.

您可以使用强命名,以确保当您加载DLL你得到正是你期待的DLL,而不是碰巧同名其他DLL。

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.

这篇关于什么是&QUOT;强名称&QUOT;在.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆