Is there any way to monitor the number of CAS stackwalks that are occurring?

Posted by Anonymous on Stack Overflow See other posts from Stack Overflow or by Anonymous
Published on 2009-09-24T13:13:32Z Indexed on 2010/04/02 4:03 UTC
Read the original article Hit count: 366

Filed under:

I'm working with a time sensitive desktop application that uses p/invoke extensively, and I want to make sure that the code is not wasting a lot of time on CAS stackwalks.

I have used the SuppressUnmanagedCodeSecurity attribute where I think it is necessary, but I might have missed a few places. Does anyone know if there is a way to monitor the number of CAS stackwalks that are occurring, and better yet pinpoint the source of the security demands?

© Stack Overflow or respective owner

Related posts about cas