using System; using System.Configuration.Assemblies; using System.Runtime.InteropServices; namespace System.Reflection { /// Specifies an algorithm to hash all files in an assembly. This class cannot be inherited. // Token: 0x02000222 RID: 546 [AttributeUsage(AttributeTargets.Assembly, Inherited = false)] [ComVisible(true)] public sealed class AssemblyAlgorithmIdAttribute : Attribute { /// Initializes a new instance of the class with the specified hash algorithm, using one of the members of to represent the hash algorithm. /// A member of AssemblyHashAlgorithm that represents the hash algorithm. // Token: 0x06001D5E RID: 7518 RVA: 0x0006E0B0 File Offset: 0x0006C2B0 public AssemblyAlgorithmIdAttribute(AssemblyHashAlgorithm algorithmId) { this.id = (uint)algorithmId; } /// Initializes a new instance of the class with the specified hash algorithm, using an unsigned integer to represent the hash algorithm. /// An unsigned integer representing the hash algorithm. // Token: 0x06001D5F RID: 7519 RVA: 0x0006E0C0 File Offset: 0x0006C2C0 [CLSCompliant(false)] public AssemblyAlgorithmIdAttribute(uint algorithmId) { this.id = algorithmId; } /// Gets the hash algorithm of an assembly manifest's contents. /// An unsigned integer representing the assembly hash algorithm. // Token: 0x17000540 RID: 1344 // (get) Token: 0x06001D60 RID: 7520 RVA: 0x0006E0D0 File Offset: 0x0006C2D0 [CLSCompliant(false)] public uint AlgorithmId { get { return this.id; } } // Token: 0x040009DF RID: 2527 private uint id; } }