Updated: July 2008
Identifies types or members as security-critical and safely accessible by transparent code.
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
public sealed class SecuritySafeCriticalAttribute : Attribute
Types or members that are marked with the
attribute can be accessed by types and members within any assembly that is marked with the SecuritySafeCriticalAttribute attribute. Code with the SecurityTransparentAttribute applied must be subject to a rigorous security audit to ensure that it can be used safely in a secure execution environment. SecuritySafeCriticalAttribute
attribute is equivalent to the combination of the SecuritySafeCriticalAttribute attribute and the SecurityCriticalAttribute attribute. SecurityTreatAsSafeAttribute
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.
Supported in: 3.5 SP1, 3.0 SP2, 2.0 SP2
Added topic for new type.
SP1 feature change.
Added information about a security audit to Remarks.
Updated class summary.