mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-08 14:10:50 -07:00
15 lines
No EOL
385 B
C#
15 lines
No EOL
385 B
C#
using System.Diagnostics;
|
|
using System.Reflection;
|
|
|
|
namespace RequestPlex.Helpers
|
|
{
|
|
public class AssemblyHelper
|
|
{
|
|
public static string GetAssemblyVersion()
|
|
{
|
|
var assembly = Assembly.GetExecutingAssembly();
|
|
var fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
|
|
return fvi.FileVersion;
|
|
}
|
|
}
|
|
} |