StrongName Class
Provides the strong name of a code assembly as evidence for policy evaluation. This class cannot be inherited.
For a list of all members of this type, see StrongName Members.
System.Object
System.Security.Policy.StrongName
[Visual Basic] <Serializable> NotInheritable Public Class StrongName Implements IIdentityPermissionFactory [C#] [Serializable] public sealed class StrongName : IIdentityPermissionFactory [C++] [Serializable] public __gc __sealed class StrongName : public IIdentityPermissionFactory [JScript] public Serializable class StrongName implements IIdentityPermissionFactory
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
The StrongName class represents evidence of a unique, cryptographically strong name of a code assembly. The strong name consists of a public key, a given name, and a version. The public key corresponds to the publisher's private key which is kept secret, and with which the assembly must be signed in order for the strong name to be valid.
Strong names are typically assigned to assemblies using either AssemblyKeyFileAttribute, AssemblyKeyNameAttribute or AssemblyDelaySignAttribute in conjunction with the SN utility (see Strong Name Tool (Sn.exe)).
StrongNameIdentityPermission uses this class to confirm that calling code is in a particular strong-named code assembly.
Requirements
Namespace: System.Security.Policy
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)