Partager via


OutOfBrowserSettings.SecuritySettings Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the security settings applied to the out-of-browser application.

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

Syntax

'Declaration
Public ReadOnly Property SecuritySettings As SecuritySettings
public SecuritySettings SecuritySettings { get; }
<OutOfBrowserSettings>
  <OutOfBrowserSettings.SecuritySettings>
    singleSecuritySettingsElement
  </OutOfBrowserSettings.SecuritySettings>
</OutOfBrowserSettings>

XAML Values

Property Value

Type: System.Windows.SecuritySettings
The security settings applied to the out-of-browser application.

Remarks

This property indicates the security requirements of the out-of-browser application. The ElevatedPermissions property of the SecuritySettings object is read-only at run time, but you can set it in the out-of-browser configuration. For more information, see How to: Configure an Application for Out-of-Browser Support. The default ElevatedPermissions property value is NotRequired.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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