Esempio n. 1
0
        public static bool CheckRequiredFrameworkVersion()
        {
            RegistryKey rk = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5");
            if (rk == null || rk.GetValue("Install") == null)
            {
                var dialog = new FrameworkVersionAlertDialog();
                dialog.ShowDialog();
                return false;
            }

            return true;
        }
Esempio n. 2
0
        public static bool CheckRequiredFrameworkVersion()
        {
            RegistryKey rk = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5");

            if (rk == null || rk.GetValue("Install") == null)
            {
                var dialog = new FrameworkVersionAlertDialog();
                dialog.ShowDialog();
                return(false);
            }

            return(true);
        }