What Reflection Permission are allowed in Medium Trust?
问题 I want to ask that which methods/classes are allowed in Medium Trust. For example, whether these methods are allowed? GetProperties, GetMethods, Activator.CreateInstance, Assembly.Version, AssemblyName.Name Please tell me which methods are allowed. 回答1: GetMethods and Activator.CreateInstance should be allowed IIRC, whilst AssemblyName and Assembly.Version aren't. I've used the first two methods in Medium-Trust environments and the latter two didn't work. Best way is just through trial-and