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

            return(false);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }