This may be by design, as knowing which members have a link demand may make it easier to hack those members.
Cleve Littlefield -----Original Message----- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Xavier Musy Sent: Thursday, March 04, 2004 10:26 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] LinkDemand discoverability 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(r) 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 =================================== 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