Files
oc-sentinel/src/OCSentinelCli/BuildMetadata.cs
OfficeCom Codex b5e06b885a
Some checks failed
OfficeCom Sentinel Client / build-client (push) Has been cancelled
Remove legacy AttackTracer repo content
2026-07-17 00:55:16 +02:00

12 lines
343 B
C#

using System.Reflection;
namespace OCSentinelCli;
internal static class BuildMetadata
{
public static string Version =>
Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion
?? Assembly.GetExecutingAssembly().GetName().Version?.ToString()
?? "0.0.0";
}