using System; using System.IO; using Abp.Reflection.Extensions; namespace BCS.BMC { /// /// Central point for application version. /// public class AppVersionHelper { /// /// Gets current version of the application. /// It's also shown in the web page. /// public const string Version = "7.3.0.0"; /// /// Gets release (last build) date of the application. /// It's shown in the web page. /// public static DateTime ReleaseDate => LzyReleaseDate.Value; private static readonly Lazy LzyReleaseDate = new Lazy(() => new FileInfo(typeof(AppVersionHelper).GetAssembly().Location).LastWriteTime); } }