System.Reflection.AssemblyKeyNameAttribute

E697549

System.Reflection.AssemblyKeyNameAttribute is a .NET attribute used to specify the name of a key container containing the strong name key pair for signing an assembly.

All labels observed (1)

Label Occurrences
System.Reflection.AssemblyKeyNameAttribute canonical 2

How this entity was disambiguated

Statements (41)

Predicate Object
instanceOf .NET attribute
class
custom attribute type
appliedAs [assembly: AssemblyKeyName("containerName")]
appliesTo .NET assemblies
assembly System.Runtime
mscorlib
linked to: mscorlib.dll
attributeUsageAllowMultiple false
attributeUsageInherited false
attributeUsageTarget Assembly
category reflection attribute
security-related attribute
CLSCompliant true
definedIn .NET 5+
linked to: .NET (5 and later)

.NET Core
.NET Framework
designGuideline intended for use at assembly level only
documentation Microsoft .NET API reference
hasConstructor AssemblyKeyNameAttribute(string keyName)
hasProperty string KeyName { get; }
inheritsFrom System.Attribute
introducedFor strong-name key management via attributes
isObsolete true
languageSupport C#
F#
VB.NET
linked to: Visual Basic .NET
namespace System.Reflection
obsoleteReason strong-name signing is typically done with project settings or MSBuild properties instead of this attribute
parameterName keyName
parameterType System.String
purpose specify the name of a key container containing the strong name key pair for signing an assembly
relatedTo System.Reflection.AssemblyKeyFileAttribute
requires key container to exist in a cryptographic service provider
sealed true
securityContext relies on cryptographic service provider key containers
shortDescription Specifies the name of a key container that holds the key pair used to sign an assembly with a strong name
threadSafety instance members are not guaranteed to be thread safe
static members are thread safe
usedFor strong-name signing of assemblies
usedWith sn.exe
visibility public

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Reflection containsType System.Reflection.AssemblyKeyNameAttribute
System.Reflection.AssemblyDelaySignAttribute relatedTo System.Reflection.AssemblyKeyNameAttribute