AssemblySignatureKeyAttribute.cs 688 B

123456789101112131415161718192021
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System.Reflection
  5. {
  6. [AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
  7. public sealed class AssemblySignatureKeyAttribute : Attribute
  8. {
  9. public AssemblySignatureKeyAttribute(string publicKey, string countersignature)
  10. {
  11. PublicKey = publicKey;
  12. Countersignature = countersignature;
  13. }
  14. public string PublicKey { get; }
  15. public string Countersignature { get; }
  16. }
  17. }