The key container location will depend on which CSP you're using and your
version of Windows. For example, if you're using the default CSP on Windows
XP without the sn -m option, your container physical store will likely be
under C:\Documents and Settings\<userid>\Application
Data\Microsoft\Crypto\RSA\.
If you have reason to be concerned about storing your private key locally
(which you should unless it's a purely temporary key), you might want to
consider using a smart card for your strong naming keys
(
http://www.dotnetthis.com/Articles/SNandSmartCards.htm).
[quoted text, click to view] "BLM" <BLM@discussions.microsoft.com> wrote in message
news:7EE74996-5543-4306-9F7C-22BEF54B48EC@microsoft.com...
> Hello
>
> There is two option to asign keypair to an assembly
>
> 1. In assenblyinfo.cs file asign .snk file name to AssemblyKeyFile
> atrribule.
> for exam -
> [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
>
> 2. Install keypair in kaycontiner by use sn.exe - i and and asign
> keycontainer name to AssemblyKeyName attribute in assemblyinfo.cs file.
> for exampl -
>
> [assembly: AssemblyKeyName("InsTechKeyPair")]
>
> my question is when we install keypair in keycontiner what is the
> location
> of keycontainer ? is it reside in windows registry or somthing where else
> ?
>
> can I see the keypair location physicaly after install it in keycontainer
> ?
>
> looking forward for your answer
>
> Thank
>
> BLM
>
>