Files
2026-06-04 11:42:34 +02:00

36 lines
1.3 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Reflection
{
/// <summary>Specifies the name of a file containing the key pair used to generate a strong name.</summary>
// Token: 0x0200022C RID: 556
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
public sealed class AssemblyKeyFileAttribute : Attribute
{
/// <summary>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.</summary>
/// <param name="keyFile">The name of the file containing the key pair. </param>
// Token: 0x06001D76 RID: 7542 RVA: 0x0006E1E8 File Offset: 0x0006C3E8
public AssemblyKeyFileAttribute(string keyFile)
{
this.name = keyFile;
}
/// <summary>Gets the name of the file containing the key pair used to generate a strong name for the attributed assembly.</summary>
/// <returns>A string containing the name of the file that contains the key pair.</returns>
// Token: 0x1700054B RID: 1355
// (get) Token: 0x06001D77 RID: 7543 RVA: 0x0006E1F8 File Offset: 0x0006C3F8
public string KeyFile
{
get
{
return this.name;
}
}
// Token: 0x040009E9 RID: 2537
private string name;
}
}