Exemplo n.º 1
0
        public static bool CheckEditShellContextMenuButton()
        {
            try
            {
                return(RegistryHelpers.CheckStringValue(ShellExtEditImageCmd, null, ShellExtEditPath));
            }
            catch (Exception e)
            {
                DebugHelper.WriteException(e);
            }

            return(false);
        }
Exemplo n.º 2
0
        public static bool CheckShellContextMenuButton()
        {
            try
            {
                return(RegistryHelpers.CheckStringValue(ShellExtMenuFilesCmd, null, ShellExtPath) &&
                       RegistryHelpers.CheckStringValue(ShellExtMenuDirectoryCmd, null, ShellExtPath));
            }
            catch (Exception e)
            {
                DebugHelper.WriteException(e);
            }

            return(false);
        }
Exemplo n.º 3
0
        public static bool CheckFirefoxAddonSupport()
        {
            try
            {
                return(RegistryHelpers.CheckStringValue(FirefoxNativeMessagingHosts, null, Program.FirefoxHostManifestFilePath) &&
                       File.Exists(Program.FirefoxHostManifestFilePath));
            }
            catch (Exception e)
            {
                DebugHelper.WriteException(e);
            }

            return(false);
        }
Exemplo n.º 4
0
        public static bool CheckImageEffectExtension()
        {
            try
            {
                return(RegistryHelpers.CheckStringValue(ShellImageEffectExtensionPath, null, ShellImageEffectExtensionValue) &&
                       RegistryHelpers.CheckStringValue(ShellImageEffectCommandPath, null, ShellImageEffectCommandValue));
            }
            catch (Exception e)
            {
                DebugHelper.WriteException(e);
            }

            return(false);
        }