Class AssemblyKeyFileAttribute
Specifies the name of a file containing the key pair used to generate a strong name.
Inherited Members
Namespace: System.Reflection
Assembly: mscorlib.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyKeyFileAttribute : Attribute
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.
Declaration
public AssemblyKeyFileAttribute(string keyFile)
Parameters
Type | Name | Description |
---|---|---|
string | keyFile | The 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.
Declaration
public string KeyFile { get; }
Property Value
Type | Description |
---|---|
string | A string containing the name of the file that contains the key pair. |