Export (0) Print
Expand All

SecuritySafeCriticalAttribute Class

Updated: July 2008

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

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

[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 within any assembly that is marked with the SecurityTransparentAttribute attribute. Code with the SecuritySafeCriticalAttribute applied must be subject to a rigorous security audit to ensure that it can be used safely in a secure execution environment.

The SecuritySafeCriticalAttribute attribute is equivalent to the combination of the SecurityCriticalAttribute attribute and the SecurityTreatAsSafeAttribute attribute.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP2, 2.0 SP2

Date

History

Reason

July 2008

Added topic for new type.

SP1 feature change.

August 2008

Added information about a security audit to Remarks.

Information enhancement.

September 2008

Updated class summary.

Customer feedback.

Community Additions

ADD
Show:
© 2014 Microsoft