[Mono-devel-list] Questions on security attributes

Alexis Christoforides alexischr at gmail.com
Wed Sep 15 21:30:02 EDT 2004


Ok, two more questions.

1) Anyone know how SetCustomAttributes responds to SecurityAttributes
on MS.NET? Will it treat them as plain custom attributes, or will it
tell the difference and parse them as security? I need to know to see
where I should make Mono do the same.

2) I get a CustomAttributeBuilder object and wish to actually create
the SecurityAttribute object (so as to  CreatePermission ().toXML ()
). I couldn't find a method that does this from a
CustomAttributeBuilder, but I could define an internal call in the
runtime and build it myself (this could be useful for other purposes
too). Should I do this? It's not hard but I feel like I'm missing

Alexis Christoforides

More information about the Mono-devel-list mailing list