Class AssemblyKeyFileAttribute
- Namespace
- System.Reflection
- Assembly
- mscorlib.dll
Specifies the name of a file containing the key pair used to generate a strong name.
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyKeyFileAttribute : Attribute
- Inheritance
-
AssemblyKeyFileAttribute
- Inherited Members
- Extension Methods
Constructors
AssemblyKeyFileAttribute(string)
Initializes a new instance of the AssemblyKeyFileAttribute class with the name of the file containing the key pair to generate a strong name for the assembly being attributed.
public AssemblyKeyFileAttribute(string keyFile)
Parameters
keyFile
stringThe name of the file containing the key pair.
Properties
KeyFile
Gets the name of the file containing the key pair used to generate a strong name for the attributed assembly.
public string KeyFile { get; }
Property Value
- string
A string containing the name of the file that contains the key pair.