What is PublicKeyToken?

S

shapper

Hello,

I just compiled a library and I am adding a similar code line in my
Web.Config file to my library:
<add assembly = "System, Version = 1.0.3300.0, Culture = neutral,
PublicKeyToken = B77A5C561934E089" />

My question is: what is PublicKeyToken?
Where can I find it?

In my library the only thing I have near it is:
GUID: e8fb24dc-72c0-4da1-b730-a475a11cdc76

But it is not in the same format.

Thanks,
Miguel
 
C

Chris Fulstow

The public key token is a 64-bit hash of the public key which
corresponds to the private key used to sign the assembly. It's used to
make an assembly name unique, so two strongly named assemblies can have
the same filename, but .NET will treat them as different assemblies.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top