StrongNameIdentityPermission Class
Defines the identity permission for strong names. This class cannot be inherited.
For a list of all members of this type, see StrongNameIdentityPermission Members.
System.Object
System.Security.CodeAccessPermission
System.Security.Permissions.StrongNameIdentityPermission
[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
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.
Remarks
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.
For a complete description of strong names see StrongName. For more information on strong-named assemblies, see Strong-Named Assemblies.
Requirements
Namespace: System.Security.Permissions
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)
See Also
StrongNameIdentityPermission Members | System.Security.Permissions Namespace | Permissions | Requesting Permissions | Strong-Named Assemblies | StrongNameIdentityPermission | StrongNamePublicKeyBlob | StrongName | StrongNameMembershipCondition