.NET Framework Class Library for Silverlight
SecuritySafeCriticalAttribute Class

Identifies types or members as security-critical and safely accessible by transparent code.

Namespace:  System.Security
Assembly:  mscorlib (in mscorlib.dll)
Syntax

Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class SecuritySafeCriticalAttribute _
    Inherits Attribute
Visual Basic (Usage)
Dim instance As SecuritySafeCriticalAttribute
C#
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
public sealed class SecuritySafeCriticalAttribute : Attribute
Remarks

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.

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    System.Security..::.SecuritySafeCriticalAttribute
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

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

See Also

Reference

Tags :


Page view tracker