Silverlight 4 – Detecting Elevated Trust

Elevated Trust is a new feature in Silverlight 4 which allows Silverlight apps to be run with fewer security restrictions. To check whether an app isĀ  running in elevated trustĀ  use the HasElevatedPermissions property.

If an app requires elevated trust, users must first consent before installing the application for out-of-browser use. Thus you will not normally have to detect whether an app is running in elevated trust. Instead, you can simply check if an app is running outside of the browser by checking the Application.IsRunningOutOfBrowser property.

This entry was posted in FAQ and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>