Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.IO;
- namespace Common.Helpers
- {
- /// <summary>
- /// Central point for application version.
- /// </summary>
- public class AppVersionHelper
- {
- /// <summary>
- /// Gets current version of the application.
- /// All project's assembly versions are changed when this value is changed.
- /// It's also shown in the web page.
- /// </summary>
- public const string Version = "1.4.0.0";
- /// <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).Assembly.Location).LastWriteTime;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement