How to get a product key token from a library file programatically?

Posted by jhorton on Stack Overflow See other posts from Stack Overflow or by jhorton
Published on 2010-03-24T15:20:01Z Indexed on 2010/03/24 15:23 UTC
Read the original article Hit count: 254

Filed under:
|

I am creating a SharePoint solution project that will install the Telerik dll files into the GAC and write the appropriate lines into the webconfig upon feature activation. My question is, is there a way to get the product key token, version, and culture info of a dll programatically. I have used the System.Reflection.Assembly.GetExecutingAssembly() before to get the embedded resources, such as a javascript file, and add it to the appropriate folder. Would this be the same way to get the dll file, and if so what would I do to get the assembly info of an embedded assembly? Thanks for any direction.

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about assemblyinfo