Class AssemblyKeyNameAttribute
- Namespace
- System.Reflection
- Assembly
- mscorlib.dll
Specifies the name of a key container within the CSP containing the key pair used to generate a strong name.
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyKeyNameAttribute : Attribute
- Inheritance
-
AssemblyKeyNameAttribute
- Inherited Members
- Extension Methods
Constructors
AssemblyKeyNameAttribute(string)
Initializes a new instance of the AssemblyKeyNameAttribute class with the name of the container holding the key pair used to generate a strong name for the assembly being attributed.
public AssemblyKeyNameAttribute(string keyName)
Parameters
keyName
stringThe name of the container containing the key pair.
Properties
KeyName
Gets the name of the container having the key pair that is used to generate a strong name for the attributed assembly.
public string KeyName { get; }
Property Value
- string
A string containing the name of the container that has the relevant key pair.