// EnsureSystemRequirements will check if all system requirements are met if not it will show an error/warning message box and exit the application
        // TODO this one holds
        public static bool SystemRequirementsEnsured()
        {
            // check WMI
            if (!SystemSpecs.IsWmiEnabled())
            {
                MessageBox.Show(Tr("{0} cannot run needed components. It seems that your system has Windows Management Instrumentation service Disabled. In order for {0} to work properly Windows Management Instrumentation service needs to be Enabled. This service is needed to detect RAM usage and Avaliable Video controler information. Enable Windows Management Instrumentation service manually and start {0}.", NHMProductInfo.Name),
                                Tr("Windows Management Instrumentation Error"),
                                MessageBoxButtons.OK, MessageBoxIcon.Error);

                return(false);
            }

            if (!Helpers.Is45NetOrHigher())
            {
                MessageBox.Show(Tr("{0} requires .NET Framework 4.5 or higher to work properly. Please install Microsoft .NET Framework 4.5", NHMProductInfo.Name),
                                Tr("Warning!"),
                                MessageBoxButtons.OK);

                return(false);
            }

            if (!Helpers.Is64BitOperatingSystem)
            {
                MessageBox.Show(Tr("{0} supports only x64 platforms. You will not be able to use {0} with x86", NHMProductInfo.Name),
                                Tr("Warning!"),
                                MessageBoxButtons.OK);

                return(false);
            }

            return(true);
        }
        public static bool SystemRequirementsEnsured()
        {
            if (!SystemSpecs.IsWmiEnabled())
            {
                MessageBox.Show(ViProductInfo.Name + " không thể chạy các thành phần cần thiết. Có vẻ như hệ thống của bạn đã tắt service Windows Management. Để cho " + ViProductInfo.Name + " để hoạt động bình thường, service Windows Management cần được Bật. Service này là cần thiết để phát hiện việc sử dụng RAM và thông tin về bộ điều khiển. Bật service Windows Management theo cách thủ công và bắt đầu " + ViProductInfo.Name + ".",
                                "Lỗi Windows Management",
                                MessageBoxButtons.OK, MessageBoxIcon.Error);

                return(false);
            }

            if (!Helpers.Is45NetOrHigher())
            {
                MessageBox.Show(ViProductInfo.Name + " yêu cầu .NET Framework 4.5 trở lên để hoạt động bình thường. Vui lòng cài đặt Microsoft .NET Framework 4.5",
                                "Cảnh báo!",
                                MessageBoxButtons.OK);

                return(false);
            }

            if (!Helpers.Is64BitOperatingSystem)
            {
                MessageBox.Show(ViProductInfo.Name + " chỉ hỗ trợ thiết bị x64. Bạn không thể sử dụng " + ViProductInfo.Name + " với x86",
                                "Cảnh báo!",
                                MessageBoxButtons.OK);

                return(false);
            }

            return(true);
        }