File: src\PEInfo.cs
Web Access
Project: src\src\Microsoft.DotNet.SignTool\Microsoft.DotNet.SignTool.csproj (Microsoft.DotNet.SignTool)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Runtime.InteropServices;
 
namespace Microsoft.DotNet.SignTool
{
    internal class PEInfo
    {
        internal bool IsManaged { get; }
        internal bool IsCrossgened { get; }
        internal string Copyright { get; }
        internal string PublicKeyToken { get; }
        internal string TargetFramework { get; }
 
        public PEInfo(bool isManaged, string copyright) : this(isManaged, false, copyright, null, null) { }
 
        public PEInfo(bool isManaged, bool isCrossgened, string copyright, string publicKeyToken, string targetFramework)
        {
            IsManaged = isManaged;
            IsCrossgened = isCrossgened;
            Copyright = copyright;
            PublicKeyToken = publicKeyToken;
            TargetFramework = targetFramework;
        }
    }
}