Defines the identity permission for strong names. This class cannot be inherited.
For a list of all members of this type, see StrongNameIdentityPermission Members.
[Visual Basic] <Serializable> NotInheritable Public Class StrongNameIdentityPermission Inherits CodeAccessPermission [C#] [Serializable] public sealed class StrongNameIdentityPermission : CodeAccessPermission [C++] [Serializable] public __gc __sealed class StrongNameIdentityPermission : public CodeAccessPermission [JScript] public Serializable class StrongNameIdentityPermission extends CodeAccessPermission
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Use StrongNameIdentityPermission to achieve versioning and naming protection by confirming that the calling code is in a particular strong-named code assembly.
A strong name identity is based on a cryptographic public key called a blob optionally combined with the name and version of a specific assembly. The key defines a unique namespace and provides strong verification that the name is genuine, because the definition of the name must be in an assembly signed by the corresponding private key.
Note that the validity of the strong name key is not dependent on a trust relationship or any certificate necessarily being issued for the key.
Note Full demands for StrongNameIdentityPermission succeed only if all the assemblies in the stack have the correct evidence to satisfy the demand. Link demands using StrongNameIdentityPermissionAttribute succeed if only the immediate caller has the correct evidence.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
StrongNameIdentityPermission Members | System.Security.Permissions Namespace | Permissions | Requesting Permissions | Strong-Named Assemblies | StrongNameIdentityPermission | StrongNamePublicKeyBlob | StrongName | StrongNameMembershipCondition