Files
OfficeTool/Models/OfficeEdition.cs
hariel1985 292a5a093e Add Office 2016 support, bump to v1.20
Office 2016 Standard, Professional Plus, and Home & Business editions
added with PerpetualVL2019 channel for volume licenses.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 12:47:44 +02:00

137 sor
6.4 KiB
C#

namespace InstaSoftOfficeTool.Models
{
public class OfficeEdition
{
public string DisplayName { get; set; }
public string Description { get; set; }
public string ProductId { get; set; }
public string Channel { get; set; }
public bool IsVolume { get; set; }
public static OfficeEdition[] GetEditions(OfficeVersion version)
{
switch (version)
{
case OfficeVersion.Office2024:
return new[]
{
new OfficeEdition
{
DisplayName = "Standard",
Description = "Alapvet\u0151 irodai alkalmaz\u00e1sok: Word, Excel, PowerPoint, Outlook, OneNote",
ProductId = "Standard2024Volume",
Channel = "PerpetualVL2024",
IsVolume = true
},
new OfficeEdition
{
DisplayName = "Professional Plus",
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote",
ProductId = "ProPlus2024Volume",
Channel = "PerpetualVL2024",
IsVolume = true
},
new OfficeEdition
{
DisplayName = "Otthoni \u00e9s kisv\u00e1llalati verzi\u00f3",
Description = "Word, Excel, PowerPoint, Outlook, OneNote \u2014 v\u00e1llalkoz\u00e1sokban is haszn\u00e1lhat\u00f3",
ProductId = "HomeBusiness2024Retail",
Channel = "Current",
IsVolume = false
}
};
case OfficeVersion.Office2021:
return new[]
{
new OfficeEdition
{
DisplayName = "Standard",
Description = "Alapvet\u0151 irodai alkalmaz\u00e1sok: Word, Excel, PowerPoint, Outlook, OneNote",
ProductId = "Standard2021Volume",
Channel = "PerpetualVL2021",
IsVolume = true
},
new OfficeEdition
{
DisplayName = "Professional Plus",
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote",
ProductId = "ProPlus2021Volume",
Channel = "PerpetualVL2021",
IsVolume = true
},
new OfficeEdition
{
DisplayName = "Otthoni \u00e9s kisv\u00e1llalati verzi\u00f3",
Description = "Word, Excel, PowerPoint, Outlook, OneNote \u2014 v\u00e1llalkoz\u00e1sokban is haszn\u00e1lhat\u00f3",
ProductId = "HomeBusiness2021Retail",
Channel = "Current",
IsVolume = false
}
};
case OfficeVersion.Office2019:
return new[]
{
new OfficeEdition
{
DisplayName = "Standard",
Description = "Alapvet\u0151 irodai alkalmaz\u00e1sok: Word, Excel, PowerPoint, Outlook, OneNote",
ProductId = "Standard2019Volume",
Channel = "PerpetualVL2019",
IsVolume = true
},
new OfficeEdition
{
DisplayName = "Professional Plus",
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote, Skype for Business",
ProductId = "ProPlus2019Volume",
Channel = "PerpetualVL2019",
IsVolume = true
},
new OfficeEdition
{
DisplayName = "Otthoni \u00e9s kisv\u00e1llalati verzi\u00f3",
Description = "Word, Excel, PowerPoint, Outlook, OneNote \u2014 v\u00e1llalkoz\u00e1sokban is haszn\u00e1lhat\u00f3",
ProductId = "HomeBusiness2019Retail",
Channel = "Current",
IsVolume = false
}
};
case OfficeVersion.Office2016:
return new[]
{
new OfficeEdition
{
DisplayName = "Standard",
Description = "Alapvető irodai alkalmazások: Word, Excel, PowerPoint, Outlook, OneNote",
ProductId = "Standard2016Volume",
Channel = "PerpetualVL2019",
IsVolume = true
},
new OfficeEdition
{
DisplayName = "Professional Plus",
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote, Skype for Business",
ProductId = "ProPlus2016Volume",
Channel = "PerpetualVL2019",
IsVolume = true
},
new OfficeEdition
{
DisplayName = "Otthoni és kisvállalati verzió",
Description = "Word, Excel, PowerPoint, Outlook, OneNote — vállalkozásokban is használható",
ProductId = "HomeBusiness2016Retail",
Channel = "Current",
IsVolume = false
}
};
default:
return new OfficeEdition[0];
}
}
}
}