c# - Reflection and attributes -- removal? modification? OR windows service in full trust? -


I want to remove security permissions from a class for which I do not have access to the source. Is it possible, through reflection, to remove or modify the attribute?

[... Permission Permission (ProtectionActionExpressionDemand, name = "Full Trust"), PermissionsSat (SecurityAction.LinkDiamond, name = "Fullstrost")]


Something After the idea, it has happened to me that perhaps this approach is wrong for the problem. Is there a way to run a windows service on a trust so that its permissions can meet the above demands?

No - The .NET reflection is read-only. If you want to edit an existing assembly, see, however, remove an attribute & amp;


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -