Files
EonaCat.Logger/EonaCat.Logger/DllInfo.cs
2026-01-08 15:18:34 +01:00

26 lines
780 B
C#

using EonaCat.Versioning.Helpers;
using System.Reflection;
namespace EonaCat.Logger;
// This file is part of the EonaCat project(s) which is released under the Apache License.
// See the LICENSE file or go to https://EonaCat.com/License for full license details.
public static class DllInfo
{
public const string NAME = "EonaCatLogger";
public const string VERSION = "1.5.0";
static DllInfo()
{
var isDebug = false;
#if DEBUG
isDebug = true;
#endif
VersionName = isDebug ? "DEBUG" : "RELEASE";
}
internal static string VersionName { get; }
public static string ApplicationName { get; set; } = "EonaCatLogger";
public static string EonaCatVersion => VersionHelper.GetEonaCatVersion(Assembly.GetExecutingAssembly());
}