> Hi.
>
[quoted text clipped - 12 lines]
>
> 10x
thanks for the answer.
My problem is that I DON'T HAVE the .snk file I want to sign with.
I want to produce one on the fly and then use it to sign the assembly.
As far as I can see - al.exe doesn't produce .snk files but only uses
existing ones.
The same goes for compiling and signing directly from vjc.exe with
AssemblyKeyFile Attribute.
Either way - you need a previously generated .snk file, and only for that
util alone you are requested to install the .Net Framework SDK which is
108MB in size.
> > Hi.
> >
[quoted text clipped - 24 lines]
>
> mikeb
mikeb - 17 Sep 2003 23:16 GMT
> thanks for the answer.
>
[quoted text clipped - 8 lines]
> util alone you are requested to install the .Net Framework SDK which is
> 108MB in size.
OK, I understand a bit better now. You can try creating a key pair
using Win32 interop with the CryptoAPI. Look at the functions
CryptDeriveKey and CryptGenKey. Using these you should be able to
create a key pair that is stored in a CSP key container.
You can specify the key container to use in your generated source code
using the AssemblyKeyNameAttribute class. Alternatively, you can invoke
al.exe using the /keyname option.
>>>Hi.
>>>
[quoted text clipped - 32 lines]
>>
>>mikeb
--
mikeb