Programmatically determine if Framework 2.0 Full trust is set or not?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
How to determine programmatically if Framework 2.0 Full trust is set in trusted sites or not?
I'm not a CAS expert, but can you decorate a method with [PermissionSet(SecurityAction.Demand, Name = "FullTrust")], then call that method? If the method throws a security exception, you're not running in full trust.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: No, Not I - A poem by Holocaust escapee, chief rabbi, and Messiah-follower Daniel Zion (audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango