Files
Taskbar-Launcher/Services/AppInfo.cs
2026-06-02 18:57:04 -04:00

19 lines
576 B
C#

using System.Reflection;
namespace TaskbarLauncher.Services;
public static class AppInfo
{
public const string ProductName = "Taskbar Launcher";
public const string Author = "Ray Berezowski";
public const string GiveawaySiteUrl = "";
public static string Version =>
Assembly.GetExecutingAssembly()
.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?
.InformationalVersion ?? "development";
public static string Build =>
Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "development";
}