开发者

If you deny assertion rights in .NET, does it have any effect?

In .NET you can deny the security permission 'Assertion' for callers higher on the stack, but would this actually work since Assert() ignores permissions lower on the stack? Sinc开发者_运维知识库e it's the end of the working day I don't presently have time to experiment. Guidance appreciated!


For future readers: Appears that it does, in fact, revoke the assertion right for callers higher on the stack. Confusing, eh?

This blog post confirms my findings: http://blogs.msdn.com/shawnfa/archive/2004/08/25/220458.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜