Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Application.HasElevatedPermissions Property

Silverlight

Gets a value that indicates whether the application is running with elevated permissions.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Property HasElevatedPermissions As Boolean

Property Value

Type: System.Boolean
true if the application is running with elevated permissions; otherwise, false.

The setter for this property is security critical and cannot be accessed by user code. For more information, see has a SecurityCriticalAttribute.

The value of this property corresponds to the value of the SecuritySettings.ElevatedPermissions property. You can set the ElevatedPermissions property in the out-of-browser configuration. For more information, see How to: Configure an Application for Out-of-Browser Support.

Caution noteCaution:

In Silverlight 4 and earlier, trusted applications run outside the browser only. Starting in Silverlight 5, system administrators can enable trusted applications to run inside the browser. In this case, however, the applications are still configured as out-of-browser applications. For more information, see Trusted Applications.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft