| 123456789101112131415161718192021222324 |
- using System;
- using System.IO;
- using Abp.Reflection.Extensions;
- namespace WeApp.Configuration
- {
- /// <summary>
- /// Central point for application version.
- /// </summary>
- public class AppVersionHelper
- {
- /// <summary>
- /// Gets current version of the application.
- /// It's also shown in the web page.
- /// </summary>
- public const string Version = IwbConsts.Version;
- /// <summary>
- /// Gets release (last build) date of the application.
- /// It's shown in the web page.
- /// </summary>
- public static DateTime ReleaseDate => new FileInfo(typeof(AppVersionHelper).GetAssembly().Location).LastWriteTime;
- }
- }
|