Identifies types or members as security-critical and safely accessible by transparent code.
Namespace:
System.Security
Assembly:
mscorlib (in mscorlib.dll)
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class SecuritySafeCriticalAttribute _
Inherits Attribute
Dim instance As SecuritySafeCriticalAttribute
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
public sealed class SecuritySafeCriticalAttribute : Attribute
Types or members that are marked with the SecuritySafeCriticalAttribute attribute can be accessed by types and members that are marked with the SecurityTransparentAttribute attribute or that are security-transparent by default. Code that is marked with the SecuritySafeCriticalAttribute must ensure that all inputs and outputs to and from security-critical code comply with security requirements. This code is subjected to a rigorous security audit to ensure that it can be used safely in a secure execution environment. The SecuritySafeCriticalAttribute is ignored when it is applied in user assemblies, that is, in assemblies that are not installed with the Silverlight library assemblies and that are not signed with a specific strong-name key.
System..::.Object
System..::.Attribute
System.Security..::.SecuritySafeCriticalAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Reference