PublicKeyToken, How is it calculated??

Discussion in 'ASP .Net' started by Jeff, Apr 3, 2007.

  1. Jeff

    Jeff Guest

    ASP.NET 2.0

    I'm about to add a membership provider to my web.config. I came across a
    tutorial on internet telling how to do it. This tutorial shows an example on
    how to do it. part of the example: PublicKeyToken=b03f5f7f11d50a3a

    I assume I cannot use PublicKeyToken=b03f5f7f11d50a3a in my web.config file,
    isn't there a tool which calculate the PublicKeyToken based on some values
    in machine.config, or something there about...

    How do I calculate the PublicKeyToken?? maybe you have a link to a great
    article telling how to calcualte PublicKeyToken, then please share it with
    me..

    Jeff
    Jeff, Apr 3, 2007
    #1
    1. Advertising

  2. Jeff

    bruce barker Guest

    see RNGCryptoSeviceProvider api. it will give you a byte array, that you
    just convert to Hex string.

    -- bruce (sqlwork.com)



    Jeff wrote:
    > ASP.NET 2.0
    >
    > I'm about to add a membership provider to my web.config. I came across a
    > tutorial on internet telling how to do it. This tutorial shows an example on
    > how to do it. part of the example: PublicKeyToken=b03f5f7f11d50a3a
    >
    > I assume I cannot use PublicKeyToken=b03f5f7f11d50a3a in my web.config file,
    > isn't there a tool which calculate the PublicKeyToken based on some values
    > in machine.config, or something there about...
    >
    > How do I calculate the PublicKeyToken?? maybe you have a link to a great
    > article telling how to calcualte PublicKeyToken, then please share it with
    > me..
    >
    > Jeff
    >
    >
    bruce barker, Apr 3, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ing. Rajesh Kumar
    Replies:
    0
    Views:
    4,535
    Ing. Rajesh Kumar
    Jul 21, 2004
  2. Michael Howes
    Replies:
    0
    Views:
    1,296
    Michael Howes
    Jan 9, 2006
  3. Jeff

    newbie: PublicKeyToken

    Jeff, Sep 14, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    364
    Karl Seguin [MVP]
    Sep 14, 2006
  4. shapper

    What is PublicKeyToken?

    shapper, Oct 12, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,199
    Chris Fulstow
    Oct 12, 2006
  5. Mike
    Replies:
    0
    Views:
    178
Loading...

Share This Page