Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. using System;
  2. using System.IO;
  3.  
  4. namespace Common.Helpers
  5. {
  6. /// <summary>
  7. /// Central point for application version.
  8. /// </summary>
  9. public class AppVersionHelper
  10. {
  11. /// <summary>
  12. /// Gets current version of the application.
  13. /// All project's assembly versions are changed when this value is changed.
  14. /// It's also shown in the web page.
  15. /// </summary>
  16. public const string Version = "1.4.0.0";
  17.  
  18. /// <summary>
  19. /// Gets release (last build) date of the application.
  20. /// It's shown in the web page.
  21. /// </summary>
  22. public static DateTime ReleaseDate => new FileInfo(typeof(AppVersionHelper).Assembly.Location).LastWriteTime;
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement