views:

66

answers:

1

I want to implement a custom assembly signature mechanism just like Strong Name, then develop a program to write the signature info in the assembly Metadata,In the assembly of internal read and verification of the signature is correct. Is possible to do this?

+2  A: 

This is certainly possible. You should add a custom attribute for the assembly. To do so, make an entry in the CustomAttribute table, which is defined in section 22.10 of ECMA 335.

Martin v. Löwis
Thank you!This is very helpful to me
guaike
Yes, but he can't write it to the _file_.
John Saunders
@John: I really cannot understand whether you are trying to be humurous in claiming that .NET cannot write to files. Of course there is plenty of API to write to files in .NET.
Martin v. Löwis