CLI tool for running Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
595 B

1 year ago
1 year ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Microsoft.Win32;
  7. namespace TrustedUninstaller.Shared
  8. {
  9. public class Globals
  10. {
  11. public const string CurrentVersion = "0.5.2";
  12. public const double CurrentVersionNumber = 0.52;
  13. #if DEBUG
  14. public static readonly int WinVer = 19045;
  15. #else
  16. public static readonly int WinVer = Int32.Parse(Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion").GetValue("CurrentBuildNumber").ToString());
  17. #endif
  18. }
  19. }