title: How do I find the PublicKeyToken for a particular dll?
body: <p>I need to recreate a provider in my web.config file that looks something like this:</p>
  
  <pre><code>&lt;membership defaultProvider="AspNetSqlMemProvider"&gt;
    &lt;providers&gt;
      &lt;clear/&gt;
      &lt;add connectionStringName="TRAQDBConnectionString" applicationName="TRAQ" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0"
           name="AspNetSqlMemProvider"
           type="System.Web.Security.SqlMembershipProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
      /&gt;
    &lt;/providers&gt;
  &lt;/membership&gt;
  </code></pre>
  
  <p>However, I get a runtime error saying this assembly cannot be loaded, and I think it is because I have the wrong PublicKeyToken.  How do I look up the PublicKeyToken for my assembly?</p>
  
  <p>Alternatively, am I going entirely the wrong way with this?</p>