Writing custom security attribute
I would like to write my own security attribute (either by inheriting SecurityAttribute or CodeAccessSecurityAttribue class - If there is someother way, it is welcome too). This will be an Assembly-Level attribute because I want this to be called by the .net runtime when ever the assembly gets loaded. But I don't have a clue as to how to go about it. Any pointers will be greatly helpful.
Thanks and Regards,
N.T.GOPALAKRISHNAN
|