Hi,
The Problem:
WebPermission.Demand() generate an exception ( meaning security validation
has failed ), digging into the code I have stumbled upon the internal class
‘System.Security.CodeAccessSecurityEngine’, the Demand() API ( implemented by
WebPermission ) instantiate this class and calls ‘Check(…)’ on it, ‘Check(…)’
is an unmanaged API implemented in ‘mscorlib’, browsing ‘Check(…)’ at the
sscli ( rotor implementation ) I have found lots of debug output APIs
(DBG_TRACE_STACKWALK, DBG_TRACE_METHOD, . . . ).
The Query:
Is there a way of ‘turning on’ the debug trace for the .NET Framework (
1.14322 ), is there an environment variable of some sort? Is there a
‘checked’ version of the .NET Framework?
Any help, ideas or pointers would be appreciated.
--
Nadav
http://www.ddevel.com