Hi JB, That works, thanks a lot. As usual, perfect support. Enjoy the weekend, Jan
Am Freitag, 13. April 2012 16:28:51 UTC+2 schrieb Jb Evain: > Hey, > > A strong name assembly has a public key and the > ModuleAttributes.StrongNameSigned bit set. > A delay signed assembly has also a public key, but the StrongNamedSigned > bit is not set. > > Jb > > On Apr 13, 2012, at 4:04 PM, Jan wrote: > > > Hi JB, > > > > An assembly can be unsigned, signed or delayed signed. Is there a way to > distinguish between signed and delayed signed in Cecil? > > > > Background is, I am loading an assembly, adding code and writing it. If > the assembly was fully signed and I am storing it without using the > StrongNameKeyPair, it will be delayed signed and not usable any more. > > The StrongNameKeyPair cannot be used if the snk file only contains the > public part of the key, it crashes in that case. I have to decide if I need > a StrongNameKeyPair instance or if I can write the assembly without it. > > > > Thanks > > > > Jan > > > > -- > > -- > > mono-cecil > > -- -- mono-cecil
