| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
| 2 | |
| 3 | namespace WixToolset.Tasks |
| 4 | { |
| 5 | public enum MetadataType |
| 6 | { |
| 7 | Unknown, |
| 8 | Burn, |
| 9 | Msi, |
| 10 | } |
| 11 | |
| 12 | public enum ArchitectureType |
| 13 | { |
| 14 | Unknown, |
| 15 | Arm64, |
| 16 | X64, |
| 17 | X86, |
| 18 | } |
| 19 | |
| 20 | public class Metadata |
| 21 | { |
| 22 | public string Id { get; set; } |
| 23 | |
| 24 | public MetadataType Type { get; set; } |
| 25 | |
| 26 | public string Name { get; set; } |
| 27 | |
| 28 | public string Version { get; set; } |
| 29 | |
| 30 | public string Locale { get; set; } |
| 31 | |
| 32 | public string Publisher { get; set; } |
| 33 | |
| 34 | public string AboutUrl { get; set; } |
| 35 | |
| 36 | public string SupportUrl { get; set; } |
| 37 | |
| 38 | public string Description { get; set; } |
| 39 | |
| 40 | public string License { get; set; } |
| 41 | |
| 42 | public ArchitectureType Architecture { get; set; } |
| 43 | |
| 44 | public string File { get; set; } |
| 45 | |
| 46 | public long Size { get; set; } |
| 47 | |
| 48 | public string Sha256 { get; set; } |
| 49 | |
| 50 | public string Created { get; set; } |
| 51 | |
| 52 | public string ProductCode { get; set; } |
| 53 | |
| 54 | public string BundleCode { get; set; } |
| 55 | |
| 56 | public string UpgradeCode { get; set; } |
| 57 | } |
| 58 | } |