Showing posts with label What are the attributes of a strong name?. Show all posts
Showing posts with label What are the attributes of a strong name?. Show all posts

Wednesday 16 July 2014

What are the attributes of a strong name?



A strongly named assembly consists of four attributes that uniquely identify the assembly: a file name (without an extension), a version number, a culture identity, and a public key. Since public keys are very large numbers, we frequently use a small hash value derived from a public key. This hash value is called a public key token.

Example:

"MyDll, Version=1.0.8143.0, Culture=neutral, PublicKeyToken=b77a5c561934e078"

"MyDll, Version=1.0.8143.0, Culture="en-US", PublicKeyToken=b77a5c561934e078"

"MyDll, Version=2.0.1264.0, Culture=neutral, PublicKeyToken=b77a5c561934e078"

"MyDll, Version=1.0.8143.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a35"