I'm trying to dynamically discover (using reflection) types/methods/properties marked with a StrongNameIdentityPermissionAttribute with a SecurityAction.LinkDemand as the action.
It appears that MemberInfo.GetCustomAttributes() does not return StrongNameIdentityPermissionAttribute objects. Looking at the IL emitted by having a member marked with such an attribute, it would appear a PermissionSet is used. However, I'm not sure how that helps me given I can't Assert/Demand those permissions per reflected member (Hence I'm not seeing how StrongNameIdentityPermission nor StrongNameMembershipCondition would help here). Anyone know how to do this? =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
