<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Public Keys are not the same</title><link>http://msmvps.com/blogs/montaque/archive/2004/04/03/4590.aspx</link><description>Aim: I wanna guarantee that only signed assembly have the access to my class library. SO I make use of the .net StrongNameIdentityPermissionAttribute to protect my assembly. When testing ,I encounter the different public keys of a same public/private</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re:Public Keys are not the same</title><link>http://msmvps.com/blogs/montaque/archive/2004/04/03/4590.aspx#42766</link><pubDate>Sat, 16 Apr 2005 07:38:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:42766</guid><dc:creator>TrackBack</dc:creator><description>^_~&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=42766" width="1" height="1"&gt;</description></item><item><title>re: Public Keys are not the same</title><link>http://msmvps.com/blogs/montaque/archive/2004/04/03/4590.aspx#4592</link><pubDate>Sat, 03 Apr 2004 11:17:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:4592</guid><dc:creator>Montaque</dc:creator><description>reawaylee  is right,thanks u :)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=4592" width="1" height="1"&gt;</description></item><item><title>re: Public Keys are not the same</title><link>http://msmvps.com/blogs/montaque/archive/2004/04/03/4590.aspx#4591</link><pubDate>Sat, 03 Apr 2004 11:09:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:4591</guid><dc:creator>Montaque</dc:creator><description>It is the wrong way to extract public key from the key file.&lt;br&gt;&lt;br&gt;You should first extract public key from the key pair file to the public key file:&lt;br&gt;sn -p montaque.snk montaquepublic.snk&lt;br&gt;&lt;br&gt;then use the following command to see the public key:&lt;br&gt;sn -tp montaquepublic.snk&lt;br&gt;&lt;br&gt;And you will see the correct public key.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=4591" width="1" height="1"&gt;</description></item></channel></rss>