I have an application that behaves oddly, and just to verify, I\'d like to see which security zone it is currently running under.
I\'ve found the System.Security.Sec
You need to look at the CAS evidence for the current assembly;
this.GetType().Assembly.Evidence
Assembly.Evidence is a property Evidence object. From this you can enumerate the evidence and look for the zone which appears as a element.