Remove legacy AttackTracer repo content
Some checks failed
OfficeCom Sentinel Client / build-client (push) Has been cancelled
Some checks failed
OfficeCom Sentinel Client / build-client (push) Has been cancelled
This commit is contained in:
11
src/OCSentinelCli/BuildMetadata.cs
Normal file
11
src/OCSentinelCli/BuildMetadata.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
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";
|
||||
}
|
||||
Reference in New Issue
Block a user