Whenever creating Online application for WPF or more, Application developers most of the time stuck into a very similar kind of issues; that is
"How to find different execution levels of My Application...?"
Actually it means is Security Zone for My Application.
So, What it means?
When creating an application we test application in our Local Machine or Local Network, and on finalization it is distributed to be executed over Remote Machines or Remote Network.
In that case, We may want to consider different way of execution of application, which can be decided easily using following small code;Visual Basic .NET Code
Dim Z as Microsoft.Security.Policy.Zone = Microsoft.Security.Policy.Zone.CreateFromUrl("Your Application Execution Url")
Now the Z object will have your proper Security Zone info as applicable for your application.