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 key container within the CSP containing the key pair used to generate a strong name.</summary>
// Token: 0x0200022D RID: 557
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
[ComVisible(true)]
public sealed class AssemblyKeyNameAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AssemblyKeyNameAttribute" /> class with the name of the container holding the key pair used to generate a strong name for the assembly being attributed.</summary>
/// <param name="keyName">The name of the container containing the key pair. </param>
// Token: 0x06001D78 RID: 7544 RVA: 0x0006E200 File Offset: 0x0006C400
public AssemblyKeyNameAttribute(string keyName)
{
this.name = keyName;
}
/// <summary>Gets the name of the container having the key pair that is used to generate a strong name for the attributed assembly.</summary>
/// <returns>A string containing the name of the container that has the relevant key pair.</returns>
// Token: 0x1700054C RID: 1356
// (get) Token: 0x06001D79 RID: 7545 RVA: 0x0006E210 File Offset: 0x0006C410
public string KeyName
{
get
{
return this.name;
}
}
// Token: 0x040009EA RID: 2538
private string name;
}
}