This documentation is archived and is not being maintained.

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.


[Visual Basic]
NotInheritable Public Class StrongNameIdentityPermission
   Inherits CodeAccessPermission
public sealed class StrongNameIdentityPermission :
public __gc __sealed class StrongNameIdentityPermission : public
class StrongNameIdentityPermission extends

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.


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.


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