|
The official documentation ("Security Sandbox on the webplayer 3.0") says: Inability to use reflection to change private fields / call private methods in types that you did not write yourself. Shouldn't this imply I'm OK to use reflection to query public fields in types? Apparently no: I get MethodAccessException when running the following code in the web player:
I need the name of the calling assembly to implement my custom diagnostic output (since the normal System.Diagnostic is not available from the web player). Any workaround for that? Thanks in advance!
(comments are locked)
|
|
Well, not exactly the assembly name, but instead the calling type name, which is OK for my purpose, and works in the web player:
(comments are locked)
|
