Hi,
The Problem:
WebPermission.D emand() generate an exception ( meaning security validation
has failed ), digging into the code I have stumbled upon the internal class
‘System.Secur ity.CodeAccessS ecurityEngine†™, 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_STAC KWALK, DBG_TRACE_METHO D, . . . ).
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